mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
Fix boot loop
This commit is contained in:
parent
ac6e6c4877
commit
70fe1a334b
@ -1326,7 +1326,7 @@ void haspNewObject(const JsonObject & config)
|
|||||||
}
|
}
|
||||||
if(styleid < sizeof labelStyles / sizeof *labelStyles) {
|
if(styleid < sizeof labelStyles / sizeof *labelStyles) {
|
||||||
debugPrintln(String(F("HASP: Styleid set to ")) + styleid);
|
debugPrintln(String(F("HASP: Styleid set to ")) + styleid);
|
||||||
lv_label_set_style(obj, LV_LABEL_STYLE_MAIN, &labelStyles[styleid]);
|
// lv_label_set_style(obj, LV_LABEL_STYLE_MAIN, &labelStyles[styleid]);
|
||||||
}
|
}
|
||||||
/* click area padding */
|
/* click area padding */
|
||||||
uint8_t padh = config[F("padh")].as<uint8_t>();
|
uint8_t padh = config[F("padh")].as<uint8_t>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user