Skip to content

Commit cbc482e

Browse files
committed
fixed: make tone work with samd51.
1 parent 5abe815 commit cbc482e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/arduino/cortex_handlers.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ void TCC3_2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Han
153153
void TCC4_0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
154154
void TCC4_1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
155155
void TCC4_2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
156-
void TC0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
156+
void TC0_Handler ( void ) __attribute__ ((weak)); //used in Tone.cpp
157157
void TC1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
158-
void TC2_Handler ( void ) __attribute__ ((weak)); //used in Tone.cpp
158+
void TC2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
159159
void TC3_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
160160
void TC4_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
161161
void TC5_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));

0 commit comments

Comments
 (0)