Browse Source

Fix unused variable warning with speed > 2 MHz

main
PaulStoffregen 10 years ago
parent
commit
955b61fd15
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      teensy3/mk20dx128.c

+ 2
- 0
teensy3/mk20dx128.c View File

@@ -363,7 +363,9 @@ void ResetHandler(void)
uint32_t *src = &_etext;
uint32_t *dest = &_sdata;
unsigned int i;
#if F_CPU <= 2000000
volatile int n;
#endif

WDOG_UNLOCK = WDOG_UNLOCK_SEQ1;
WDOG_UNLOCK = WDOG_UNLOCK_SEQ2;

Loading…
Cancel
Save