diff options
| author | Dan Halbert <halbert@halwitz.org> | 2020-08-30 14:39:03 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2020-08-30 14:39:03 -0400 |
| commit | 6dbd369272c4bedea4e00c1dca80d0b3ee2d6781 (patch) | |
| tree | 44707cefb3dd7535492987671a75ad281d84824a /main.c | |
| parent | 767f3d0feb1e145efc2def5048e91d910bbe2f9a (diff) | |
| parent | 0adccc50dcc9e9db9a054da563fe4f165e8d912e (diff) | |
merge from upstream
Diffstat (limited to 'main.c')
| -rwxr-xr-x | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -444,11 +444,12 @@ int run_repl(void) { } int __attribute__((used)) main(void) { - memory_init(); - // initialise the cpu and peripherals safe_mode_t safe_mode = port_init(); + // Init memory after the port in case the port needs to set aside memory. + memory_init(); + // Turn on LEDs init_status_leds(); rgb_led_status_init(); |
