mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-15 13:08:21 +01:00
fix num of modes
This commit is contained in:
@@ -14,7 +14,7 @@ class Button : public Sprocket {
|
||||
MeshNet* net;
|
||||
int pin;
|
||||
int warnlevel = 0;
|
||||
int cycleEnd = 4;
|
||||
int cycleEnd = 5;
|
||||
Button(SprocketConfig cfg) : Sprocket(cfg) {}
|
||||
Sprocket* activate(Scheduler* scheduler, Network* network) {
|
||||
pin = D2;
|
||||
|
||||
Reference in New Issue
Block a user