We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70d3c1d commit 52c988fCopy full SHA for 52c988f
cores/arduino/SERCOM.h
@@ -245,7 +245,7 @@ class SERCOM
245
uint32_t getFreqRef(void) { return freqRef; };
246
#else
247
// The equivalent SAMD21 dummy functions...
248
- void setClockSource(int8_t idx, SercomClockSource src, bool core) { };
+ void setClockSource(__attribute__((unused)) int8_t idx, __attribute__((unused)) SercomClockSource src, __attribute__((unused)) bool core) { };
249
SercomClockSource getClockSource(void) { return SERCOM_CLOCK_SOURCE_FCPU; };
250
uint32_t getFreqRef(void) { return F_CPU; };
251
#endif
0 commit comments