mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Don't change sys_layer transparancy in antiburn
This commit is contained in:
parent
651be6acb1
commit
f12655e453
@ -187,7 +187,7 @@ static lv_task_t* antiburn_task;
|
||||
void hasp_stop_antiburn()
|
||||
{
|
||||
lv_obj_t* layer = lv_disp_get_layer_sys(NULL);
|
||||
if(layer) lv_obj_set_style_local_bg_opa(layer, LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, LV_OPA_TRANSP);
|
||||
// if(layer) lv_obj_set_style_local_bg_opa(layer, LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, LV_OPA_TRANSP);
|
||||
if(antiburn_task) lv_task_del(antiburn_task);
|
||||
antiburn_task = NULL;
|
||||
hasp_set_wakeup_touch(haspDevice.get_backlight_power() == false); // enabled if backlight is OFF
|
||||
|
Loading…
x
Reference in New Issue
Block a user