From 82d293ba606af7b9bbd5b8aad1861f38417f4c1b Mon Sep 17 00:00:00 2001 From: midilab Date: Wed, 18 May 2022 05:12:49 -0300 Subject: [PATCH] revert tcc0 as main timer for xiao. uncomment tc3 and comment tcc0 at begining of uClock.cpp to change it --- src/uClock.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/uClock.cpp b/src/uClock.cpp index 44e83ea..40a117d 100755 --- a/src/uClock.cpp +++ b/src/uClock.cpp @@ -37,10 +37,12 @@ IntervalTimer _uclockTimer; #endif // Seedstudio XIAO M0 port #if defined(SEEED_XIAO_M0) -#include -#define _uclockTimer TimerTc3 -//#include -//#define _uclockTimer TimerTcc0 +// 24 bits timer +#include +#define _uclockTimer TimerTcc0 +// 16 bits timer +//#include +//#define _uclockTimer TimerTc3 #endif #if defined(ARDUINO_ARCH_AVR)