mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-07-29 10:02:48 +00:00
minor heap optimizations
This commit is contained in:
@@ -491,8 +491,8 @@ void WebCustomizationService::load_test_data() {
|
||||
// find the device value and set the mask and custom name to match the above fake data
|
||||
for (auto & dv : emsdevice->devicevalues_) {
|
||||
if (strcmp(dv.short_name, "heatingactive") == 0) {
|
||||
dv.state = DeviceValueState::DV_FAVORITE; // set as favorite
|
||||
dv.custom_fullname = "is my heating on?";
|
||||
dv.state = DeviceValueState::DV_FAVORITE; // set as favorite
|
||||
dv.set_custom_fullname("is my heating on?");
|
||||
} else if (strcmp(dv.short_name, "tapwateractive") == 0) {
|
||||
dv.state = DeviceValueState::DV_FAVORITE; // set as favorite
|
||||
} else if (strcmp(dv.short_name, "selflowtemp") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user