reverted setvolume(1.4f)
This commit is contained in:
parent
50f033c617
commit
02f58bc5cf
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ void webSocketEvent(WStype_t type, uint8_t *payload, size_t length)
|
|||
// Check if volume_control is included in the message
|
||||
if (doc.containsKey("volume_control")) {
|
||||
int newVolume = doc["volume_control"].as<int>();
|
||||
volume.setVolume(newVolume / 100.0f * 1.4f);
|
||||
volume.setVolume(newVolume / 100.0f);
|
||||
}
|
||||
|
||||
scheduleListeningRestart = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue