boot: implement PmicDriver::ShutdownSystem
This commit is contained in:
1 parent
7581306109
commit
1456246f60
6 files changed
+85
-4
No files matched your search
@@ -267,7 +267,7 @@ void Boot::CheckBatteryCharge() {
|
||||
pmic_driver.ShutdownSystem();
|
||||
break;
|
||||
case CheckBatteryResult_Reboot:
|
||||
pmic_driver.RebootSystem();
|
||||
Boot::RebootSystem();
|
||||
break;
|
||||
default:
|
||||
std::abort();
|
||||
|
||||
Reference in new issue
Block a user