diff options
Diffstat (limited to 'main.c')
| -rwxr-xr-x | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -325,7 +325,6 @@ void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) { } #endif - stack_init(); // TODO(tannewt): Allocate temporary space to hold custom usb descriptors. filesystem_flush(); supervisor_allocation* heap = allocate_remaining_memory(); @@ -381,6 +380,8 @@ int __attribute__((used)) main(void) { rgb_led_status_init(); + stack_init(); + // Create a new filesystem only if we're not in a safe mode. // A power brownout here could make it appear as if there's // no SPI flash filesystem, and we might erase the existing one. |
