boot: implement PmicDriver::ShutdownSystem

This commit is contained in:
Michael Scire
2019-05-09 02:45:31 -07:00
parent 7581306109
commit 1456246f60
6 changed files with 85 additions and 4 deletions

View File

@@ -267,7 +267,7 @@ void Boot::CheckBatteryCharge() {
pmic_driver.ShutdownSystem();
break;
case CheckBatteryResult_Reboot:
pmic_driver.RebootSystem();
Boot::RebootSystem();
break;
default:
std::abort();