Skip to content

[TEST] CI build of the LED rainbow follow-ups (do not merge) - #10

Draft
Raffi1202 wants to merge 3 commits into
test/pr-11820-basefrom
fix/led-rainbow-followups
Draft

[TEST] CI build of the LED rainbow follow-ups (do not merge)#10
Raffi1202 wants to merge 3 commits into
test/pr-11820-basefrom
fix/led-rainbow-followups

Conversation

@Raffi1202

Copy link
Copy Markdown
Owner

Fork-internal draft PR to build https://github.com/Raffi1202/inav/tree/fix/led-rainbow-followups, the review follow-ups on top of iNavFlight#11820. Not for merging here.

Follow-ups to the rainbow overlay review:
- COLOR_WHITE was changed to {0, 0, 255}; hsvToRgb24() stores saturation
  inverted, so that renders pure red and would have hit every user of the
  palette entry after the PG bump. Restore {0, 255, 255}.
- With eight overlays the CLI led string can reach 25 characters
  ("15,15:NESWUD:CTOBNIWEV:15"), more than the 20-byte stack buffers in
  printLed(). Size them with LED_CONFIG_STRING_LENGTH (32) and format
  with tfp_snprintf() so generateLedConfig() can never overrun its
  buffer.
- The rainbow layer overwrote every field of the colour it read; build
  the colour directly.
- Restore the executable bit on update_cli_docs.py.
@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown

RAM / Flash usage vs. base branch — commit 0656f0b

No size baseline is available yet for this PR's base commit (no per-commit baseline has been published for it). This comment will show deltas once one exists — rebasing the PR refreshes its base commit.

Target Flash Δ RAM Δ
MATEKF405 660543 B (no baseline) 143676 B (no baseline)
MATEKF722 462547 B (no baseline) 125020 B (no baseline)
MATEKF765 685151 B (no baseline) 149956 B (no baseline)
MATEKH743 717615 B (no baseline) 153380 B (no baseline)

See RAM/flash optimization guide for techniques to reduce usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant