-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(battery-monitor): prevent voltage spike on reg output turn on
When the reg output is off, the controller was trying to compensate for a too low voltage by increasing the output voltage pot value. This makes the pot have the maximum value when the controller is turned on, resulting in a voltage spike. Fixed by returning early from functions that depend on the controller being powered on to function.
- Loading branch information
1 parent
31d8b5a
commit ff1cad1
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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