remove network from sprocket

This commit is contained in:
2018-07-13 19:04:34 +02:00
parent b4094e4fdd
commit fe8066af71
2 changed files with 1 additions and 6 deletions

View File

@@ -17,8 +17,6 @@ struct SprocketConfig {
class Sprocket {
protected:
Scheduler scheduler;
Network* network;
int hasNetwork = 0;
public:
SprocketConfig config;
Sprocket();
@@ -30,7 +28,7 @@ class Sprocket {
virtual Sprocket* activate();
virtual Sprocket* activate(Scheduler*) { return this; }
virtual Sprocket* activate(Scheduler*, Network*) { return this; }
virtual void dispatch(uint32_t from, String &msg) {};
virtual void dispatch(uint32_t from, String &msg) {};
};
#endif