
Charles Young's development fork. Going forward I only want to push mature code to main repository.
Fork of GEO_COUNTER_L432KC by
Diff: RotarySwitch.cpp
- Revision:
- 23:41260ab0f49d
- Parent:
- 20:fb73eaaf0894
- Child:
- 24:db7494389c03
--- a/RotarySwitch.cpp Tue Sep 04 17:40:29 2018 -0700 +++ b/RotarySwitch.cpp Tue Sep 04 17:51:33 2018 -0700 @@ -90,7 +90,10 @@ void RotarySwitch::UpdateInput() { - LEDs_write(LED_statuses[LED_status_index]); + if (WHEEL_INACTIVE_SELECT == currentWheelState) + LEDs_write(0); + else + LEDs_write(LED_statuses[LED_status_index]); // react to wheel if in proper state WheelCurrent = int(Wheel.getPulses());