reverted setvolume(1.4f)

This commit is contained in:
Roman Lut 2025-05-26 14:08:55 +02:00
parent 50f033c617
commit 02f58bc5cf

View file

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