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

Update Usermod: Battery #3964

Merged

Commits on May 9, 2024

  1. Update Usermod: Battery

    Issue:
    When taking the initial voltage reading after first powering on, voltage hasn't had chance to stabilize so the reading can be inaccurate, which in turn may incorrectly trigger the low-power preset. (Manifests when the user has selected a low read interval and/or is using a capacitor).
    
    Resolution:
    A non-blocking, fixed 10 second delay has been added to the initial voltage reading to give the voltage time to stabilize.
    
    This is a reworked version of the (now closed) PR here:
    Aircoookie#3959
    
    - Rebased the update for 0_15.
    
    - Added a constant so the delay can be modified via my_config.h.
    
    - Small adjustments to make the PR compatible again after the recent restructuring in this PR: (Aircoookie#3003).
    
    Thankyou!
    adamsthws committed May 9, 2024
    Configuration menu
    Copy the full SHA
    bc5aadf View commit details
    Browse the repository at this point in the history