Skip to content

Commit adc0866

Browse files
committed
Hathach doesn't like attributes on parameters
1 parent eb3c114 commit adc0866

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/Servo/src/samd/Servo.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,9 @@ static void initISR(timer16_Sequence_t timer)
264264
#endif
265265
}
266266

267-
static void finISR(__attribute__((unused)) timer16_Sequence_t timer)
267+
static void finISR(timer16_Sequence_t timer)
268268
{
269+
(void)timer;
269270
#if defined (_useTimer1)
270271
// Disable the match channel interrupt request
271272
TC_FOR_TIMER1->COUNT16.INTENCLR.reg = INTENCLR_BIT_FOR_TIMER_1;

0 commit comments

Comments
 (0)