Tags: starryalley/Anduril2
Tags
strobe/candle: refactoring and fix 7C bug for indicator Refactoring code and fix a bug where when configured to use indicator LED in candle mode, 2C or 3C to the next/prev strobe mode and back to candle, the indicator LED won't turn on and 7C stops working. This was due to the aux_led_reset flag was not properly cleared in 2C or 3C. See issue #28
fsm-misc: fix AUX blinking on side facing AUX LED In the case where USE_AUX_RGB_LEDS_WHILE_ON is defined, such as D1v2 and K1, set_level(0) won't turn off the AUX LED so the AUX blinking won't work. Fix it so we can still use side facing AUX (RGB button LED) to blink digits.
off-mode/startup-mode: fix instant on flickering (mode 0) When doing instant on (mode 0) we should not do 2 set_level() calls. Instead, we should separate the case so if the current mode is 0, do not even call ramp_up_level() and keep the original code path. If not, phase sync can be messed up. Fix commit c4149b8
aux-led: Aux LVP fix for dual-voltage lights like AA-14500 Copied from: https://bazaar.launchpad.net/~gabe/flashlight-firmware/anduril2/revision/626 https://bazaar.launchpad.net/~gabe/flashlight-firmware/anduril2/revision/627
PreviousNext