[FixRed] main_menu.c typo CONFIG_CHARGING == CHARGING_SIMPLE

Change-Id: I5422a566459336727bf9189130b2c02d7c1b40e2
This commit is contained in:
William Wilgus 2024-11-22 02:35:39 -05:00
parent b73fc15f1f
commit 56378cb38e

View file

@ -358,7 +358,7 @@ static int info_action_callback(int action, struct gui_synclist *lists)
#if CONFIG_CHARGING == CHARGING_SIMPLE
/* Only know if plugged */
if (charger_inserted())
simplelist_setline(str(LANG_BATTERY_CHARGE);
simplelist_setline(str(LANG_BATTERY_CHARGE));
else
#elif CONFIG_CHARGING >= CHARGING_MONITOR
/* Go by what power management reports */