Skip to content

Commit ac9c0c3

Browse files
committed
Fix for Warning on Unused Variable
1 parent 781d77f commit ac9c0c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/SwitchExample/SwitchExample.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ void beepCallbackFunction(void *s) // optional
2222
{
2323
tone(3, 2400, 5); // is non-blocking
2424
// Serial.print("BeepCallback: "); Serial.println((char*)s);
25+
(void)s; // Fix Unused warning
2526
}
2627

2728
void setup() {

0 commit comments

Comments
 (0)