Browse Source

Opps, use startup_early_hook() in startup code

teensy4-core
PaulStoffregen 11 years ago
parent
commit
262c04b029
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      teensy3/mk20dx128.c

+ 2
- 2
teensy3/mk20dx128.c View File

asm volatile ("nop"); asm volatile ("nop");
asm volatile ("nop"); asm volatile ("nop");
// programs using the watchdog timer or needing to initialize hardware as // 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 // enable clocks to always-used peripherals
#if defined(__MK20DX128__) #if defined(__MK20DX128__)

Loading…
Cancel
Save