build: Fix yellow in 6d387e2e7f when panic is not supported

Change-Id: I8b896ef05ca27b3abc05d5d6910d5f6b9741047c
This commit is contained in:
Solomon Peachy 2026-05-03 15:10:03 -04:00
parent 6d387e2e7f
commit 82a0921399

View file

@ -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;
}
}