SonoffBoilerplate icon indicating copy to clipboard operation
SonoffBoilerplate copied to clipboard

state CMD_BUTTON_CHANGE not resetted to CMD_WAIT

Open pat1300 opened this issue 5 years ago • 0 comments

I think that, after line 580, there should be a reset of cmd to CMD_WAIT:

.... if (duration < 1000) { Serial.println("short press - toggle relay"); toggle(); cmd= CMD_WAIT; // was missing ? } else if (duration < 5000) { ....

pat1300 avatar Aug 13 '19 10:08 pat1300