Skip to content

Commit 2706a5c

Browse files
eric-wiesercmaglie
authored andcommitted
Squash -Wunused-parameter warning
1 parent c3479a5 commit 2706a5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/avr/Servo.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ static void finISR(timer16_Sequence_t timer)
202202
timerDetach(TIMER3OUTCOMPAREA_INT);
203203
}
204204
#else
205-
//For arduino - in future: call here to a currently undefined function to reset the timer
205+
//For arduino - in future: call here to a currently undefined function to reset the timer
206+
(void) timer; // squash "unused parameter 'timer' [-Wunused-parameter]" warning
206207
#endif
207208
}
208209

0 commit comments

Comments
 (0)