From 70cb99cd0c1680a0f299641f555128b4901b1ac5 Mon Sep 17 00:00:00 2001 From: Christoph Baumann Date: Fri, 2 May 2025 17:08:16 +0200 Subject: [PATCH] add symbol to boot storage ums --- nyx/nyx_gui/frontend/gui_tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nyx/nyx_gui/frontend/gui_tools.c b/nyx/nyx_gui/frontend/gui_tools.c index 61075c41..c849c72c 100644 --- a/nyx/nyx_gui/frontend/gui_tools.c +++ b/nyx/nyx_gui/frontend/gui_tools.c @@ -779,7 +779,7 @@ static lv_res_t _create_window_usb_tools(lv_obj_t *parent) // Create Boot Storage UMS button lv_obj_t *btn_boot_strg = lv_btn_create(h1, btn1); label_btn = lv_label_create(btn_boot_strg, NULL); - lv_label_set_text(label_btn, SYMBOL_SD " Boot Storage"); + lv_label_set_text(label_btn, boot_storage_get_drive() == DRIVE_SD ? SYMBOL_SD " Boot Storage" : SYMBOL_CHIP " Boot Storage"); lv_obj_align(btn_boot_strg, btn1, LV_ALIGN_OUT_RIGHT_MID, LV_DPI / 10, 0); lv_btn_set_action(btn_boot_strg, LV_BTN_ACTION_CLICK, _action_ums_boot_storage);