fix compat linux
This commit is contained in:
parent
9d31148d21
commit
f871b76ca2
@ -194,7 +194,9 @@ static void create_ui(void*)
|
|||||||
bool suspended;
|
bool suspended;
|
||||||
void suspendIHM(){
|
void suspendIHM(){
|
||||||
suspended=true;
|
suspended=true;
|
||||||
|
#if CONFIG_IDF_TARGET_ESP32P4
|
||||||
lvgl_port_stop();
|
lvgl_port_stop();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
void drawIhm(void *param) {
|
void drawIhm(void *param) {
|
||||||
// Init display + LVGL
|
// Init display + LVGL
|
||||||
@ -443,8 +445,8 @@ void app_main_display()
|
|||||||
// lv_label_bind_text(mqtt, &mqttStatus, "Mqtt %d");
|
// lv_label_bind_text(mqtt, &mqttStatus, "Mqtt %d");
|
||||||
|
|
||||||
lv_obj_t *scr = lv_scr_act();
|
lv_obj_t *scr = lv_scr_act();
|
||||||
lv_obj_add_style(scr, &style_gradient, 0);
|
//lv_obj_add_style(scr, &style_gradient, 0);
|
||||||
|
|
||||||
/* Your LVGL objects code here .... */
|
/* Your LVGL objects code here .... */
|
||||||
|
|
||||||
/* Label */
|
/* Label */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user