build: Fix yellow in 6d387e2e7f when panic is not supported
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Sun, 3 May 2026 15:14:04 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 82a0921399a14ee3b091d6957aca17a4c05bdb9b Author: Solomon Peachy <[email protected]> Date: Sun May 3 15:10:03 2026 -0400 build: Fix yellow in 6d387e2e7f when panic is not supported Change-Id: I8b896ef05ca27b3abc05d5d6910d5f6b9741047c diff --git a/firmware/usbstack/usb_iap.c b/firmware/usbstack/usb_iap.c index 6608e12880..bf6889e66e 100644 --- a/firmware/usbstack/usb_iap.c +++ b/firmware/usbstack/usb_iap.c @@ -24,6 +24,7 @@ #include "powermgmt.h" #include "timefuncs.h" #include "usb_drv.h" +#include "panic.h" #include "iap/audio.h" #include "iap/libiap/iap.h" @@ -448,6 +449,7 @@ int usb_iap_get_max_packet_size(int ep) { return 64; } else { panicf("unexpected endpoint number %d", ep); + return 0; } } -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs