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

chore: improve VBAT measurement #5635

Merged
merged 5 commits into from
Oct 30, 2024
Merged

chore: improve VBAT measurement #5635

merged 5 commits into from
Oct 30, 2024

Conversation

3djc
Copy link
Collaborator

@3djc 3djc commented Oct 23, 2024

Cleanup of VBAT measurement definition for Radiomaster and Jumper radio where we have exact drawings and resistors values. This will break existing calibration (likely not by a whole lot), but overall I think it is for the best. In most cases, default value should already be very accurate

@pfeerick pfeerick added the house keeping 🧹 Cleanup of code and house keeping label Oct 30, 2024
@pfeerick pfeerick added this to the 2.11 milestone Oct 30, 2024
@pfeerick pfeerick added the rn: warning Warning needed in release notes label Oct 30, 2024
@pfeerick
Copy link
Member

This will break existing calibration (likely not by a whole lot), but overall I think it is for the best.

Depends by what you mean by a whole lot... 1V of movement seems like a lot for me 🤪 i.e. T-Pro jumped from 7.82 to 8.92V, but T12-Max and Zorro were a lot less - T12-Max from 7.79 to 8.12, and Zorro from 7.95 to 7.69. X9D+2019 was correctly non-affected.

I completely agree, having the calculated value rather than a magic number is much better, and is more flexible for future variations.

@pfeerick pfeerick merged commit 366df60 into main Oct 30, 2024
48 checks passed
@pfeerick pfeerick deleted the 3djc/vbat-rewiew branch October 30, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
house keeping 🧹 Cleanup of code and house keeping rn: warning Warning needed in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants