boot: implement PmicDriver::ShutdownSystem

This commit is contained in:
Michael Scire committed 2019-05-09 02:45:31 -07:00
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();