Commit 8f37b54
committed
Fix bug in startup battery check
The battery gauge was being checked before it was marked as online. Dummy values were returned, causing the low battery check to inaccurately pass. This would lead to very low voltage units into a rolling reset if voltage was too low.1 parent 20f3b78 commit 8f37b54
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| 547 | + | |
| 548 | + | |
547 | 549 | | |
548 | 550 | | |
549 | 551 | | |
| |||
553 | 555 | | |
554 | 556 | | |
555 | 557 | | |
556 | | - | |
| 558 | + | |
557 | 559 | | |
558 | 560 | | |
559 | 561 | | |
| |||
565 | 567 | | |
566 | 568 | | |
567 | 569 | | |
568 | | - | |
569 | 570 | | |
570 | 571 | | |
571 | 572 | | |
| |||
0 commit comments