added samd as arch on libraries.properties for xiao m0 support

pull/9/head
midilab 3 years ago
parent d39de549cc
commit 197edd7888
  1. 4
      library.properties
  2. 2
      src/uClock.cpp

@ -3,8 +3,8 @@ version=1.0.0
author=Romulo Silva <contact@midilab.co> author=Romulo Silva <contact@midilab.co>
maintainer=Romulo Silva <contact@midilab.co> maintainer=Romulo Silva <contact@midilab.co>
sentence=BPM clock generator for Arduino and Teensy boards sentence=BPM clock generator for Arduino and Teensy boards
paragraph=A Library to implement BPM clock tick calls using hardware interruption. Tested on ATmega168/328, ATmega16u4/32u4, ATmega2560 and Teensy ARM boards. paragraph=A Library to implement BPM clock tick calls using hardware interruption. Tested on ATmega168/328, ATmega16u4/32u4, ATmega2560, Teensy ARM boards and Seedstudio XIAO M0 SAMD..
category=Timing category=Timing
url=https://github.com/midilab/uClock url=https://github.com/midilab/uClock
architectures=avr,arm architectures=avr,arm,samd
includes=uClock.h includes=uClock.h

@ -202,7 +202,6 @@ void uClockClass::setTimerTempo(float bpm)
TCCR1B |= tccr; TCCR1B |= tccr;
) )
#else #else
ATOMIC(
#if defined(TEENSYDUINO) #if defined(TEENSYDUINO)
_uclockTimer.update(tick_us_interval); _uclockTimer.update(tick_us_interval);
#endif #endif
@ -210,7 +209,6 @@ void uClockClass::setTimerTempo(float bpm)
#if defined(SEEED_XIAO_M0) #if defined(SEEED_XIAO_M0)
_uclockTimer.setPeriod(tick_us_interval); _uclockTimer.setPeriod(tick_us_interval);
#endif #endif
)
#endif #endif
} }

Loading…
Cancel
Save