changed comment

This commit is contained in:
proddy
2023-04-29 14:34:48 +02:00
parent 26b0c67d13
commit ff058b06a1

View File

@@ -838,7 +838,7 @@ void EMSdevice::generate_values_web(JsonObject & output) {
JsonObject obj = data.createNestedObject(); // create the object, we know there is a value JsonObject obj = data.createNestedObject(); // create the object, we know there is a value
uint8_t fahrenheit = 0; uint8_t fahrenheit = 0;
// handle Booleans (true, false), use strings, no native true/false) // handle Booleans (true, false), use strings, not native true/false)
if (dv.type == DeviceValueType::BOOL) { if (dv.type == DeviceValueType::BOOL) {
auto value_b = (bool)*(uint8_t *)(dv.value_p); auto value_b = (bool)*(uint8_t *)(dv.value_p);
char s[12]; char s[12];