Remove extra delay after critical sound

This delay doesn't exist for the tone generator, so remove it from the
pure version as well.
This commit is contained in:
Yuri D'Elia 2022-12-31 00:51:44 +01:00
parent 805e71e504
commit 3c4373c0c3

View file

@ -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_);