mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-16 05:24:30 +01:00
Resolve "OTA"
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
|
||||
#include <TaskSchedulerDeclarations.h>
|
||||
#include <Arduino.h>
|
||||
#include <FS.h>
|
||||
#include "FS.h"
|
||||
#ifdef ESP32
|
||||
#include "SPIFFS.h"
|
||||
#endif
|
||||
#include "Network.h"
|
||||
|
||||
using namespace std;
|
||||
@@ -31,6 +34,7 @@ class Sprocket {
|
||||
virtual Sprocket* activate();
|
||||
virtual Sprocket* activate(Scheduler*) { return this; }
|
||||
virtual Sprocket* activate(Scheduler*, Network*) { return this; }
|
||||
virtual Sprocket* enable() { return this; };
|
||||
// TODO bind onMessage to network->onReceive
|
||||
//virtual void onMessage(uint32_t from, String &msg) {};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user