Skip to content

Commit 52c988f

Browse files
committed
Mark unused parameters as such.
1 parent 70d3c1d commit 52c988f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/SERCOM.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class SERCOM
245245
uint32_t getFreqRef(void) { return freqRef; };
246246
#else
247247
// The equivalent SAMD21 dummy functions...
248-
void setClockSource(int8_t idx, SercomClockSource src, bool core) { };
248+
void setClockSource(__attribute__((unused)) int8_t idx, __attribute__((unused)) SercomClockSource src, __attribute__((unused)) bool core) { };
249249
SercomClockSource getClockSource(void) { return SERCOM_CLOCK_SOURCE_FCPU; };
250250
uint32_t getFreqRef(void) { return F_CPU; };
251251
#endif

0 commit comments

Comments
 (0)