revert tcc0 as main timer for xiao. uncomment tc3 and comment tcc0 at begining of uClock.cpp to change it

pull/9/head
midilab 3 years ago
parent d93b2c131a
commit 82d293ba60
  1. 10
      src/uClock.cpp

@ -37,10 +37,12 @@ IntervalTimer _uclockTimer;
#endif #endif
// Seedstudio XIAO M0 port // Seedstudio XIAO M0 port
#if defined(SEEED_XIAO_M0) #if defined(SEEED_XIAO_M0)
#include <TimerTC3.h> // 24 bits timer
#define _uclockTimer TimerTc3 #include <TimerTCC0.h>
//#include <TimerTCC0.h> #define _uclockTimer TimerTcc0
//#define _uclockTimer TimerTcc0 // 16 bits timer
//#include <TimerTC3.h>
//#define _uclockTimer TimerTc3
#endif #endif
#if defined(ARDUINO_ARCH_AVR) #if defined(ARDUINO_ARCH_AVR)

Loading…
Cancel
Save