Skip to content

Commit a38a629

Browse files
authored
Fix status = !!!status to status = !status
1 parent 36e46b0 commit a38a629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/Tone.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Tone {
3737

3838
void toggle() {
3939
digitalWrite(pin, status);
40-
status = !!!status;
40+
status = !status;
4141
if (millis() > limit) {
4242
stop();
4343
}

0 commit comments

Comments
 (0)