Actually change volume in the HandleVolue callback

This commit is contained in:
Earle F. Philhower, III committed 2017-12-15 22:18:23 -08:00
1 parent 5a9340c452
commit 397aee8c19
1 file changed
+1
+1
View File
@@ -138,6 +138,7 @@ void HandleVolume(WiFiClient *client, char *params)
ParamInt("vol", volume);
}
Serial.printf_P(PSTR("Set volume: %d\n"), volume);
out->SetGain(((float)volume)/100.0);
RedirectToIndex(client);
}