LED strip: add rainbow overlay GUI controls - #2718
Conversation
Maintenance 9.x to master
Maintenance 9.x to master
Code Review by Qodo
1.
|
PR Summary by QodoLED strip: add Rainbow overlay controls and settings persistence
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
Code Review by Qodo
1.
|
- Fix sweep rate input min to 0 to match save path range (0-255) - Consolidate rainbow input enable/disable into syncRainbowInputState() - Use i18n key for rainbow settings panel title - Fix duplicate case block for overlay letters i and v - Remove redundant updateBulkCmd() call in selection handler - Use optional chaining for getSetting result checks
|



Adds GUI support for the new rainbow overlay ('V') introduced in the companion FC PR.
Changes
Settings
ledstrip_rainbow_sweep_rate(0-255) — controls sweep speed. Higher values sweep faster. 0 freezes the rainbow.ledstrip_rainbow_delta_deg(0-359) — hue offset in degrees between adjacent rainbow LEDs.Testing
Verified on SKYSTARSH743HD with 14 LEDs configured with the rainbow overlay active. Sweep rate and colour delta changes save correctly to EEPROM and persist across power cycles.
Companion FC PR
iNavFlight/inav#11820