Repository navigation
B1: QI hysteresis + battery smoothing; independent E/B versions + CI E-skip - #53
Merged
Merged
Conversation
…ns + CI skip Hardening for imperfect Qi-pad coupling (a misaligned pad cycles the link): - QI_PRESENT asymmetric debounce — quick to latch ON (docking stops recording promptly) but ~2.5 s sustained loss before declaring OFF, so a brief wobble no longer flips the charging<->nav screen or resets the on-pad timers. - EMA-smooth the flaky B1 battery sense so the gauge stops bouncing (the 34/45/38% chatter seen on a poorly-coupled pad). Versioning/CI: E and B now carry independent FW_VERSION (E 2026.06.29.02, B 2026.06.29.03) so a B-only change never re-revs the E fleet. CI extracts both, names/publishes each variant at its own version, and publish_variant now SKIPS a variant whose binary is byte-identical to the live manifest — so the unchanged E build is neither re-uploaded nor re-manifested, and E boats do not re-OTA. 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.
Follow-up to the B1 power/OTA work. Fixes the on-pad UI twitchiness seen when a board is imperfectly aligned on the Qi pad (the link cycles → screen flips charging↔nav, gauge bounces), and decouples E/B so B-only changes stop disturbing the E fleet.
Firmware (B-only,
#ifdef BUILD_B1)QI_PRESENTasymmetric hysteresis — latch ON in ~200 ms (docking still stops recording promptly), but require ~2.5 s of sustained loss before declaring OFF. A brief Qi-link wobble no longer flips the display or resets the store-and-forget / off-pad timers. A real lift holds QI low continuously, so OFF still fires in ~2.5 s.Versioning + CI (the E-protection you asked for)
FW_VERSIONvia#ifdef BUILD_B1: E stays2026.06.29.02, B →2026.06.29.03. A B-only change no longer re-revs E.publish_variantnow skips a variant whose freshly-built binary sha matches the live manifest → the unchanged E build is not re-uploaded or re-manifested. And because E's version is unchanged regardless, E boats do not re-OTA even if the skip doesn't trigger (belt + suspenders).Effect of merging
2026.06.29.03(next time they're docked/charging on WiFi).E binary verified to still compile at 1592239 bytes (unchanged size); B at 1594707.
🤖 Generated with Claude Code