Skip to content

Commit 32d1368

Browse files
committed
add missing font
1 parent d78100b commit 32d1368

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

main/bootloader_ui.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static item_desc_t item[] = {
6161

6262
static lv_obj_t *g_img_btn, *g_img_item = NULL;
6363
static lv_obj_t *g_lab_item = NULL;
64-
static lv_obj_t *g_led_item[5];
64+
static lv_obj_t *g_led_item[6];
6565
static size_t g_item_size = sizeof(item) / sizeof(item[0]);
6666
static lv_obj_t *g_status_bar = NULL;
6767

@@ -424,8 +424,6 @@ void ui_app5_start(void (*fn)(void))
424424
}
425425

426426
void bootloader_ui(lv_obj_t *scr) {
427-
428-
bsp_display_lock(0);
429427
lv_obj_set_style_bg_color(lv_scr_act(), lv_color_make(237, 238, 239), LV_STATE_DEFAULT);
430428
ui_button_style_init();
431429

@@ -453,6 +451,4 @@ void bootloader_ui(lv_obj_t *scr) {
453451
lv_obj_align(g_status_bar, LV_ALIGN_TOP_MID, 0, 0);
454452

455453
ui_main_menu(g_item_index);
456-
457-
bsp_display_unlock();
458454
}

sdkconfig.defaults

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
CONFIG_IDF_TARGET="esp32s3"
55
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
66
CONFIG_PARTITION_TABLE_CUSTOM=y
7+
CONFIG_LV_FONT_DEFAULT_MONTSERRAT_32=y

0 commit comments

Comments
 (0)