File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ volatile bool toneIsActive = false;
37
37
volatile bool firstTimeRunning = false ;
38
38
39
39
#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
43
43
#else
44
44
#define TONE_TC TC5
45
45
#define TONE_TC_IRQn TC5_IRQn
@@ -48,9 +48,9 @@ volatile bool firstTimeRunning = false;
48
48
#define TONE_TC_CHANNEL 0
49
49
50
50
#if defined(__SAMD51__)
51
- # define Tone_Handler TC2_Handler
51
+ void TC0_Handler ( void ) __attribute__ ((weak, alias( " Tone_Handler " )));
52
52
#else
53
- # define Tone_Handler TC5_Handler
53
+ void TC5_Handler ( void ) __attribute__ ((weak, alias( " Tone_Handler " )));
54
54
#endif
55
55
56
56
static inline void resetTC (Tc* TCx)
Original file line number Diff line number Diff line change 20
20
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
21
21
22
22
name=Seeed SAMD (32-bits ARM Cortex-M0+ and Cortex-M4) Boards
23
- version=1.7.2
23
+ version=1.7.3
24
24
25
25
# Compile variables
26
26
# -----------------
You can’t perform that action at this time.
0 commit comments