mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-08-18 11:06:31 +00:00
fix: wrap lvgl_v8_port.cpp in PLATFORM_ESPIDF guard
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#if 1
|
||||
#if defined(PLATFORM_ESPIDF)
|
||||
|
||||
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ static void gui_build_main_screen() {
|
||||
|
||||
// Create a label
|
||||
lv_obj_t * label = lv_label_create(screen_main);
|
||||
lv_label_set_text(label, "OpenBeken Display Test");
|
||||
lv_label_set_text(label, "OpenBeken Display Text 2");
|
||||
lv_obj_align(label, LV_ALIGN_CENTER, 0, 0);
|
||||
lv_obj_set_style_text_color(label, lv_color_hex(0xFFFFFF), LV_PART_MAIN);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user