firmware: add missing 'void' in usb_charging_maxcurrent() definition
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 350e2b9b0212420dd4d13e22614ce5492ab9042c Author: Aidan MacDonald <[email protected]> Date: Tue Jan 13 20:15:52 2026 +0000 firmware: add missing 'void' in usb_charging_maxcurrent() definition Change-Id: I5d1dbb9176160ae98a8ab20ac3436610cf8b805d diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c index d7e9f34d84..4cf4e1b137 100644 --- a/firmware/usbstack/usb_core.c +++ b/firmware/usbstack/usb_core.c @@ -1346,7 +1346,7 @@ void usb_charging_enable(int state) usb_charging_maxcurrent_change(usb_charging_maxcurrent()); } -int usb_charging_maxcurrent() +int usb_charging_maxcurrent(void) { if (!initialized || usb_charging_mode == USB_CHARGING_DISABLE) return 100; -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs