universal7885: parts-aidl: No need to set the bool every 5s

This commit is contained in:
roynatech2544 2022-10-18 13:27:41 +09:00
commit 820eeff595

View file

@ -34,6 +34,7 @@ void SmartCharge::battery_monitor(void) {
kTookAction = true;
restart_stat += 1;
} else {
if (!kTookAction) goto sleep;
kTookAction = false;
}
sleep: