remove unused

This commit is contained in:
2018-09-16 17:10:23 +02:00
parent db5a67229e
commit 382db948ac

View File

@@ -31,16 +31,6 @@ class MeshSprocket : public Sprocket {
return this;
} using Sprocket::activate;
virtual void onMessage(uint32_t from, String &msg) {
//Serial.printf("MeshSprocket onMessage: received from %u msg=%s\n", from, msg.c_str());
SprocketMessage sMsg;
sMsg.fromJsonString(msg);
if(sMsg.valid){
sMsg.from = from;
publish(sMsg.topic, sMsg.payload);
}
};
void dispatch( uint32_t from, String &msg ) {
SprocketMessage sMsg;
sMsg.fromJsonString(msg);