[ion] Fix bug in Power: after waking up from standby, call

Reset::coreWhilePlugged instead of Reset::core (the device might be
plugged at this point and we don't want to jump to ST bootloader when
waking up from standby on N0100)
This commit is contained in:
Émilie Feral
2019-06-18 15:27:43 -04:00
parent bf80957b56
commit f99ea4b5f6

View File

@@ -122,7 +122,7 @@ void __attribute__((noinline)) internalFlashStandby() {
Device::ExternalFlash::shutdown();
Device::Board::shutdownClocks();
Device::Power::enterLowPowerMode();
Device::Reset::core();
Device::Reset::coreWhilePlugged();
}
void configWakeUp() {