diff --git a/cores/esp32/Tone.cpp b/cores/esp32/Tone.cpp index 77a254cd1d1..772b2b6bba1 100644 --- a/cores/esp32/Tone.cpp +++ b/cores/esp32/Tone.cpp @@ -95,6 +95,7 @@ void noTone(uint8_t pin){ .frequency = 0, // Ignored .duration = 0, // Ignored }; + xQueueReset(_tone_queue); // clear queue xQueueSend(_tone_queue, &tone_msg, portMAX_DELAY); } }