Skip to content

Commit 20fa7b4

Browse files
Fixed issue with tone not compiling
1 parent 71a1121 commit 20fa7b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

STM32F1/cores/maple/tone.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ void tone(uint32_t pin, uint32_t freq, uint32_t duration) {
182182
////////////////////////////////////////////////////////////////////////////////
183183
// disable tone on specified pin, if any
184184
void noTone(uint32_t pin){
185-
tone(pin,-1); // it's all handled in tone()
185+
tone(pin,-1,0); // it's all handled in tone()
186186
}
187187

188188
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)