mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
changed comment
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user