mirror of
https://github.com/Crocmagnon/buzzer.git
synced 2024-11-21 23:48:07 +01:00
Fix display when changing volume
This commit is contained in:
parent
b8f51e0716
commit
638869824c
1 changed files with 1 additions and 2 deletions
|
@ -112,8 +112,7 @@ void onChangeVolume(AsyncWebServerRequest *request)
|
||||||
preferences.putUChar(CURRENT_VOLUME, currentVolume);
|
preferences.putUChar(CURRENT_VOLUME, currentVolume);
|
||||||
audio.setVolume(currentVolume);
|
audio.setVolume(currentVolume);
|
||||||
Serial.print(currentVolume);
|
Serial.print(currentVolume);
|
||||||
String s_volume = String(currentVolume);
|
displayStatus();
|
||||||
displayText("Volume : " + s_volume);
|
|
||||||
}
|
}
|
||||||
Serial.println();
|
Serial.println();
|
||||||
onStatus(request);
|
onStatus(request);
|
||||||
|
|
Loading…
Reference in a new issue