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

ADC battery readings quicker to reach steady state after boot #3761

Merged
merged 1 commit into from May 2, 2024

Conversation

todd-herbert
Copy link
Contributor

ADC battery readings are smoothed. Currently, this smoothing filter is initialized with a fixed (low) value.
This PR replaces the fixed value at startup with an initial ADC reading, provided that the ADC reading is higher than the original fixed (low) value.

@thebentern thebentern merged commit 0527fb1 into meshtastic:master May 2, 2024
70 checks passed
@todd-herbert todd-herbert deleted the battery-adc-init branch May 2, 2024 12:18
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.

None yet

2 participants