mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[bootloader] Fix slotInfo on Epsilon
This commit is contained in:
@@ -10,6 +10,8 @@ namespace Bootloader {
|
||||
|
||||
void __attribute__((noinline)) suspend() {
|
||||
Ion::Device::Power::internalFlashSuspend(true);
|
||||
// Restore slotInfo magic header (broken on Epsilon, IDK why)
|
||||
*(uint8_t *)0x20000000 = 0xBA;
|
||||
}
|
||||
|
||||
void* Trampolines[TRAMPOLINES_COUNT]
|
||||
|
||||
Reference in New Issue
Block a user