Disabled api fetching if display off
This commit is contained in:
@ -45,8 +45,8 @@ void playTune(int tuneIndex) {
|
||||
}
|
||||
}
|
||||
|
||||
void beep() {
|
||||
tone(PIN_BUZZER, 1000, 100);
|
||||
void beep(int buzz) {
|
||||
tone(PIN_BUZZER, buzz, 100);
|
||||
delay(100);
|
||||
noTone(PIN_BUZZER);
|
||||
}
|
Reference in New Issue
Block a user