From 8058d550abf8dabdb8b7dc284ca4cbfc6e2bb21c Mon Sep 17 00:00:00 2001 From: CTCaer Date: Tue, 8 Jun 2021 05:51:52 +0300 Subject: [PATCH] nyx: reflect 5v regulator changes --- nyx/nyx_gui/frontend/gui.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nyx/nyx_gui/frontend/gui.c b/nyx/nyx_gui/frontend/gui.c index 135c588..f607a66 100644 --- a/nyx/nyx_gui/frontend/gui.c +++ b/nyx/nyx_gui/frontend/gui.c @@ -1262,14 +1262,9 @@ static void _update_status_bar(void *params) else strcat(label, "#FF3C28 "SYMBOL_BATTERY_EMPTY"#"); - // Set charging symbol and regulator 5V source based on USB state. + // Set charging symbol. if (charge_status) - { strcat(label, " #FFDD00 "SYMBOL_CHARGE"#"); - regulator_5v_batt_src_enable(false); - } - else - regulator_5v_batt_src_enable(true); lv_label_set_text(status_bar.battery, label); lv_obj_realign(status_bar.battery);