mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-08 01:12:29 +00:00
Merge branch 'pr-172' into dev-v2.1.0
This commit is contained in:
@@ -559,7 +559,7 @@ void AmsWebServer::configMqttHtml() {
|
||||
html.replace("{u}", mqtt.username);
|
||||
html.replace("{pw}", mqtt.password);
|
||||
html.replace("{f}", String(mqtt.payloadFormat));
|
||||
for(int i = 0; i<4; i++) {
|
||||
for(int i = 0; i<5; i++) {
|
||||
html.replace("{f" + String(i) + "}", mqtt.payloadFormat == i ? "selected" : "");
|
||||
}
|
||||
html.replace("{f255}", mqtt.payloadFormat == 255 ? "selected" : "");
|
||||
|
||||
Reference in New Issue
Block a user