Sfoglia il codice sorgente

Opps, use startup_early_hook() in startup code

teensy4-core
PaulStoffregen 11 anni fa
parent
commit
262c04b029
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      teensy3/mk20dx128.c

+ 2
- 2
teensy3/mk20dx128.c Vedi File

@@ -366,8 +366,8 @@ void ResetHandler(void)
asm volatile ("nop");
asm volatile ("nop");
// programs using the watchdog timer or needing to initialize hardware as
// early as possible can implement startup_default_early_hook()
startup_default_early_hook();
// early as possible can implement startup_early_hook()
startup_early_hook();

// enable clocks to always-used peripherals
#if defined(__MK20DX128__)

Loading…
Annulla
Salva