소스 검색

Remove extra delay after critical sound

This delay doesn't exist for the tone generator, so remove it from the
pure version as well.
Yuri D'Elia 1 년 전
부모
커밋
543b333007
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      Firmware/sound.cpp

+ 0 - 1
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_);