mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-14 20:56:38 +01:00
remove unused
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user