firmware bugfix - wrong sensor index for sht31 temp setting

This commit is contained in:
DeltaLima 2024-12-09 02:19:52 +01:00
parent 303227fbe2
commit b63fc08d29

View file

@ -667,7 +667,7 @@ void WEBsystemSettings() {
} }
body += "<option value='1'" + returnStrSelected(TemperatureSensor_Type, 1) + ">I2C BME280</option>\n"; body += "<option value='1'" + returnStrSelected(TemperatureSensor_Type, 1) + ">I2C BME280</option>\n";
body += "<option value='2'" + returnStrSelected(TemperatureSensor_Type, 2) + ">I2C Chirp</option>\n"; body += "<option value='2'" + returnStrSelected(TemperatureSensor_Type, 2) + ">I2C Chirp</option>\n";
body += "<option value='2'" + returnStrSelected(TemperatureSensor_Type, 3) + ">I2C SHT31</option>\n"; body += "<option value='3'" + returnStrSelected(TemperatureSensor_Type, 3) + ">I2C SHT31</option>\n";
body += "</select><br>\n"; body += "</select><br>\n";
// HumiditySensor_Type byte // HumiditySensor_Type byte