Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: RTC warning not being shown #5209

Merged
merged 2 commits into from
Jun 23, 2024
Merged

fix: RTC warning not being shown #5209

merged 2 commits into from
Jun 23, 2024

Conversation

pfeerick
Copy link
Member

@pfeerick pfeerick commented Jun 22, 2024

Summary of changes:

  • As in fix: RTC boot check not working #5207, enable the vBatBridge when needed on the startup run of checkAll() so that the RTC battery voltage is actually read.

  • Partially revert change in refactor(color): UI code cleanup, speed up loading of complex pages #5031 re: enableVBatBridge() as this needs to be called regularly so that the RTC voltage is actually read. The call to disableVBatBridge() while perhaps technically not needed since adcRead() will clear it itself once the voltage actually read certainly won't hurt.

  • Changes to display of number on hardware page required as was occasionally flashing junk characters and number changing alignment.

Fixes #5203 for main

Tested on TX16S hardware by running separate PSU on RTC battery input to allow for voltage to be adjusted.

Partially revert change in #5031 re:
`enableVBatBridge()` as this needs to be called
reguarly so that the RTC voltage is actually read.
The call to `disableVBatBridge()` while perhaps
technically not needed since `adcRead()` will
clear it itself once the voltage actually read
certainly won't hurt.
@pfeerick pfeerick added the bug/regression ↩️ A new version of EdgeTX broke something label Jun 22, 2024
@pfeerick pfeerick added this to the 2.11 milestone Jun 22, 2024
@pfeerick pfeerick merged commit 22114a6 into main Jun 23, 2024
45 checks passed
@pfeerick pfeerick deleted the pfeerick/main-rtc-fixes branch June 23, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/regression ↩️ A new version of EdgeTX broke something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RTC Check seems not to work on TX16s 1st generation (maybe others)
1 participant