Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

debug: only show usb_charging_maxcurrent() if HAVE_USBSTACK is defined.

HAVE_USB_CHARGING_ENABLE isn't enough, as the ihp3xx targets have an odd
combination of USB charging but rely on an external ATA bridge.

Change-Id: I2cba5f218971ac23cde8dca34faa06bbb44a2448

+1 -1
+1 -1
apps/debug_menu.c
··· 1178 1178 #else 1179 1179 lcd_putsf(0, 3, "Charger: %s", 1180 1180 charger_inserted() ? "present" : "absent"); 1181 - #if defined(HAVE_USB_CHARGING_ENABLE) 1181 + #if defined(HAVE_USBSTACK) && defined(HAVE_USB_CHARGING_ENABLE) 1182 1182 lcd_putsf(0, 4, "USB current limit: %d mA", 1183 1183 usb_charging_maxcurrent()); 1184 1184 #endif /* HAVE_USB_CHARGING_ENABLE */