From 543b333007dae03b0b951493fa0051944e5996c6 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Sat, 31 Dec 2022 00:51:44 +0100 Subject: [PATCH] Remove extra delay after critical sound This delay doesn't exist for the tone generator, so remove it from the pure version as well. --- Firmware/sound.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Firmware/sound.cpp b/Firmware/sound.cpp index f4c6ee1d0..27c951b97 100644 --- a/Firmware/sound.cpp +++ b/Firmware/sound.cpp @@ -84,7 +84,6 @@ void Sound_MakeCustom(uint16_t ms,uint16_t tone_,bool critical){ WRITE(BEEPER, HIGH); _delay(ms); WRITE(BEEPER, LOW); - _delay(ms); } else{ _tone(BEEPER, tone_);