Repository navigation
firmware: RC display — top clock + FW/battery footer (2026.06.08.02) - #44
Merged
Merged
Conversation
Both RC panels (armed fleet view + pre-race roster) now show: - First row (top bar, left): time-of-day HH:MM:SS, font 4. Local via a RC_CLOCK_TZ_OFFSET_MIN knob (default -240 = Boston EDT; 0 = UTC). Shows --:--:-- until GPS time is valid. Repaints only on the second change. - Last row (footer bar): "FW <version>" left + "BAT N%" right, font 2, white-on-black. Repaints only when battery % changes. Shared helpers drawRcClock()/drawRcFooter() handle their own change detection so they don't disturb the panels' partial-redraw flicker control. The static top-left "RC FLEET"/"RC PRE-RACE" labels are dropped to make room for the clock — the countdown / FIX gauge on the right plus the column layout still distinguish armed vs idle. maxRows in both panels reduced by the 28 px footer so peer rows never overlap it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compile-check PR — do not merge until eyeballed on an RC screen (merge auto-OTAs the fleet).
Adds to both RC panels (armed
drawRcFleetPanel+ idledrawRcPreRacePanel):HH:MM:SSin the top bar (font 4). Local time viaRC_CLOCK_TZ_OFFSET_MIN(default -240 = Boston EDT; set 0 for UTC, -300 for EST — manual, no auto-DST).--:--:--until GPS time is valid.FW <version>(left) +BAT N%(right), font 2, white-on-black.Shared
drawRcClock()/drawRcFooter()helpers do their own change-detection (clock repaints on the second; footer on battery %), so they don't fight the panels' partial-redraw flicker control.maxRowsreduced by the 28 px footer so peer rows never overlap it.Heads-up: the static top-left
RC FLEET/RC PRE-RACElabels are removed to make room for the clock — the right-side countdown / FIX gauge + column layout still signal armed vs idle. Say if you'd rather keep the label (I'd shrink the clock to fit both).Brace-balanced (drawRcClock/Footer/Fleet/PreRace all OK);
FW_VERSION→2026.06.08.02.Validate before merge
Flash one RC unit (E6 =
rc_signal), confirm: clock top-left ticking in local time,FW 2026.06.08.02+BAT N%footer, no row/footer overlap. Then merge to OTA the fleet.🤖 Generated with Claude Code