mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user