Skip to content

Commit

Permalink
Fix emergency clear LED countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Apehaenger committed Jul 1, 2024
1 parent f061686 commit f66bdc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Firmware/CoverUI/YardForce/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ check section [usage](#usage) about the [LED](#meaning-of-the-leds) and [Button]

| Version [^4] | Changes | Date |
| ------- | ------- | ---- |
| 2.05 | - YardForce RM-ECOW-V1.1.0 support<br>- Backside alive LED now software driven (hwtimer independent)| 06/30/2024
| 2.05 | - YardForce RM-ECOW-V1.1.0 support<br>- Backside alive LED now software driven (hwtimer independent)<br>- Fix emergency clear LED countdown for RM-ECOW-V1.0.0| 06/30/2024
| 2.04 | - YardForce RM-ECOW-V1.0.0 support<br>- Dropped separate versioning<br>- Fully refactored | 11/14/2023
| 1.00 | - YardForce SAxPRO (Rev6) Dot-Matrix-Display support | 09/27/2023
| 1.00 | - Stock-Cable support for rain & hall sensors<br>- Classic 500B support | 05/13/2023
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ void LEDcontrolRMECOWV100::show_countdown_state(unsigned int sec, LED_state stat
uint8_t led_num = 18 - i;
if (sec_left >= i) // Remaining secs is greater than this LED
{
leds.set(led_num, state, false);
leds.set(led_num, state, true); // change_state = true because blink states get handled by timer and this need to be stored
}
else
{
leds.set(led_num, LED_off, false);
leds.set(led_num, LED_off, true);
force_off(led_num, true);
}
}
Expand Down

0 comments on commit f66bdc9

Please sign in to comment.