fix num of modes

This commit is contained in:
2018-06-30 12:11:34 +02:00
parent e496d99a8d
commit 5b86bc9481

View File

@@ -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;