mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
build: Fix yellow in 6d387e2e7f when panic is not supported
Change-Id: I8b896ef05ca27b3abc05d5d6910d5f6b9741047c
This commit is contained in:
parent
6d387e2e7f
commit
82a0921399
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue