mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-16 21:34:08 +01:00
moar refactorrz
This commit is contained in:
@@ -5,6 +5,7 @@ Sprocket::Sprocket(){
|
||||
}
|
||||
|
||||
Sprocket* Sprocket::init(SprocketConfig cfg){
|
||||
delay(cfg.startupDelay);
|
||||
Serial.begin(cfg.serialBaudRate);
|
||||
SPIFFS.begin();
|
||||
return this;
|
||||
@@ -42,7 +43,7 @@ Sprocket* Sprocket::app(App& app){
|
||||
}
|
||||
|
||||
void Sprocket::loop(){
|
||||
network.update();
|
||||
//network.update();
|
||||
scheduler.execute();
|
||||
//stack->loop();
|
||||
}
|
||||
Reference in New Issue
Block a user