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

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

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

Loading…
Cancel
Save