mirror of https://github.com/arendst/Tasmota.git
Merge pull request #14669 from s-hadinger/lvgl_fix_lv_disp_null
LVGL allow null pointer for lv_disp and lv_indev
This commit is contained in:
commit
be111852a9
|
@ -43,7 +43,7 @@ int lv0_init(bvm *vm);
|
||||||
int lv0_init(bvm *vm) {
|
int lv0_init(bvm *vm) {
|
||||||
// "+_p" indicates that there must be an non NULL argument, either passed as comptr or returned by the function
|
// "+_p" indicates that there must be an non NULL argument, either passed as comptr or returned by the function
|
||||||
// Here, there is no function, so calling the constructor without a non-null comptr argument is rejected
|
// Here, there is no function, so calling the constructor without a non-null comptr argument is rejected
|
||||||
return be_call_c_func(vm, NULL, "+_p", NULL);
|
return be_call_c_func(vm, NULL, "=_p", NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************************************************************************************\
|
/*********************************************************************************************\
|
||||||
|
|
Loading…
Reference in New Issue