sts: add STS_UNREACHABLE_DEFAULT_CASE()

This commit is contained in:
Michael Scire 2019-09-28 15:13:20 -07:00 committed by SciresM
parent 609a302e16
commit add18d868f
23 changed files with 50 additions and 87 deletions

View file

@ -89,7 +89,7 @@ namespace sts::boot {
/* Allow up to 5 seconds for shutdown/reboot to take place. */
svcSleepThread(5'000'000'000ul);
std::abort();
STS_ASSERT(false);
}
void PmicDriver::FinalizeBattery(BatteryDriver *battery_driver) {