mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 17:55:30 +03:00
LED on/off changes to ledStripEnabled flag
This commit is contained in:
parent
bfa79ab010
commit
a6409a030b
1 changed files with 1 additions and 2 deletions
|
@ -759,8 +759,6 @@ void updateLedStrip(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
uint32_t now = micros();
|
uint32_t now = micros();
|
||||||
|
|
||||||
bool indicatorFlashNow = indicatorFlashNow = (int32_t)(now - nextIndicatorFlashAt) >= 0L;
|
bool indicatorFlashNow = indicatorFlashNow = (int32_t)(now - nextIndicatorFlashAt) >= 0L;
|
||||||
|
@ -907,6 +905,7 @@ void ledStripEnable(void)
|
||||||
static void ledStripDisable(void)
|
static void ledStripDisable(void)
|
||||||
{
|
{
|
||||||
setStripColor(&hsv_black);
|
setStripColor(&hsv_black);
|
||||||
|
|
||||||
ws2811UpdateStrip();
|
ws2811UpdateStrip();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue