mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Fix missing button event handler
This commit is contained in:
parent
3287957886
commit
701d10cf48
@ -1056,7 +1056,7 @@ void haspNewObject(const JsonObject & config)
|
||||
// lv_label_set_text(label, config[F("txt")].as<String>().c_str());
|
||||
// haspSetOpacity(obj, LV_OPA_COVER);
|
||||
//}
|
||||
// lv_obj_set_event_cb(obj, btn_event_handler);
|
||||
lv_obj_set_event_cb(obj, btn_event_handler);
|
||||
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user