Skip to content

Commit 5871940

Browse files
committed
update: update version to 1.7.3
1 parent c97c6b8 commit 5871940

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

cores/arduino/Tone.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ volatile bool toneIsActive = false;
3737
volatile bool firstTimeRunning = false;
3838

3939
#if defined(__SAMD51__)
40-
#define TONE_TC TC2
41-
#define TONE_TC_IRQn TC2_IRQn
42-
#define TONE_TC_GCLK_ID TC2_GCLK_ID
40+
#define TONE_TC TC0
41+
#define TONE_TC_IRQn TC0_IRQn
42+
#define TONE_TC_GCLK_ID TC0_GCLK_ID
4343
#else
4444
#define TONE_TC TC5
4545
#define TONE_TC_IRQn TC5_IRQn
@@ -48,9 +48,9 @@ volatile bool firstTimeRunning = false;
4848
#define TONE_TC_CHANNEL 0
4949

5050
#if defined(__SAMD51__)
51-
#define Tone_Handler TC2_Handler
51+
void TC0_Handler (void) __attribute__ ((weak, alias("Tone_Handler")));
5252
#else
53-
#define Tone_Handler TC5_Handler
53+
void TC5_Handler (void) __attribute__ ((weak, alias("Tone_Handler")));
5454
#endif
5555

5656
static inline void resetTC (Tc* TCx)

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
2121

2222
name=Seeed SAMD (32-bits ARM Cortex-M0+ and Cortex-M4) Boards
23-
version=1.7.2
23+
version=1.7.3
2424

2525
# Compile variables
2626
# -----------------

0 commit comments

Comments
 (0)