mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-15 01:42:22 +01:00
make dispatch overridable
This commit is contained in:
@@ -124,8 +124,8 @@ class IlluCat : public MeshSprocket {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void dispatch( uint32_t from, String &msg ) {
|
virtual void dispatch( uint32_t from, String &msg ) {
|
||||||
Serial.println(msg);
|
//Serial.println(msg);
|
||||||
currentMessage.fromJsonString(msg);
|
currentMessage.fromJsonString(msg);
|
||||||
if(currentMessage.valid){
|
if(currentMessage.valid){
|
||||||
currentMessage.from = from;
|
currentMessage.from = from;
|
||||||
|
|||||||
Reference in New Issue
Block a user