Mirror with some correction
Dependencies: mbed FastIO FastPWM USBDevice
Diff: main.cpp
- Revision:
- 83:ea44e193fd55
- Parent:
- 80:94dc2946871b
- Child:
- 84:31e926f4f3bc
--- a/main.cpp Fri Mar 24 05:42:01 2017 +0000 +++ b/main.cpp Thu Apr 13 23:22:12 2017 +0000 @@ -2860,7 +2860,7 @@ // current switch state. setNightMode(bs->logState); } - else + else if (bs->logState) { // It's a momentary toggle switch. Toggle the night mode // state on each distinct press of the button: that is,