Ver código fonte

Fix Macro clockCyclesPerMicrosecond

F_CPU -> F_CPU_ACTUAL
main
Frank 4 anos atrás
pai
commit
18e40cb8d3
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      teensy4/wiring.h

+ 1
- 1
teensy4/wiring.h Ver arquivo

@@ -157,7 +157,7 @@ extern long double pow10l(long double x);
#define interrupts() __enable_irq()
#define noInterrupts() __disable_irq()

#define clockCyclesPerMicrosecond() ( F_CPU / 1000000L )
#define clockCyclesPerMicrosecond() ( F_CPU_ACTUAL / 1000000L )
#define clockCyclesToMicroseconds(a) ( (a) / clockCyclesPerMicrosecond() )
#define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() )


Carregando…
Cancelar
Salvar