mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
debug_menu: show USB charging current limit on battery screen
Change-Id: I5cbcdba5724616e85cde1cf9e422c8ccdb34592b
This commit is contained in:
parent
350e2b9b02
commit
cd20bc7d16
1 changed files with 4 additions and 0 deletions
|
|
@ -1178,6 +1178,10 @@ static bool view_battery(void)
|
|||
#else
|
||||
lcd_putsf(0, 3, "Charger: %s",
|
||||
charger_inserted() ? "present" : "absent");
|
||||
#if defined(HAVE_USB_CHARGING_ENABLE)
|
||||
lcd_putsf(0, 4, "USB current limit: %d mA",
|
||||
usb_charging_maxcurrent());
|
||||
#endif /* HAVE_USB_CHARGING_ENABLE */
|
||||
#endif /* target type */
|
||||
#endif /* CONFIG_CHARGING */
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue