Parcourir la source

Fix unused variable warning with speed > 2 MHz

main
PaulStoffregen il y a 11 ans
Parent
révision
955b61fd15
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +2
    -0
      teensy3/mk20dx128.c

+ 2
- 0
teensy3/mk20dx128.c Voir le fichier

uint32_t *src = &_etext; uint32_t *src = &_etext;
uint32_t *dest = &_sdata; uint32_t *dest = &_sdata;
unsigned int i; unsigned int i;
#if F_CPU <= 2000000
volatile int n; volatile int n;
#endif


WDOG_UNLOCK = WDOG_UNLOCK_SEQ1; WDOG_UNLOCK = WDOG_UNLOCK_SEQ1;
WDOG_UNLOCK = WDOG_UNLOCK_SEQ2; WDOG_UNLOCK = WDOG_UNLOCK_SEQ2;

Chargement…
Annuler
Enregistrer