forked from len0rd/rockbox
Hopefully fix the last of the stragglers.
* xDuoo X3 fix some warnings due to an incorrect #ifdef * stub storage_removeable() and storage_present() for non-HOTSWAP builds * sim_trigger_external() is gated by HOTSWAP, not MULTIDRIVE Change-Id: I38f14fdfeba13957899c378051d49afc2e8245e5
This commit is contained in:
parent
1528b44349
commit
5a2bd580cd
5 changed files with 10 additions and 5 deletions
|
@ -222,7 +222,7 @@ void usb_wait_for_disconnect(struct event_queue *q)
|
|||
|
||||
static bool is_ext_inserted;
|
||||
|
||||
#ifdef HAVE_MULTIDRIVE
|
||||
#ifdef HAVE_HOTSWAP
|
||||
void sim_trigger_external(bool inserted)
|
||||
{
|
||||
is_ext_inserted = inserted;
|
||||
|
|
|
@ -28,7 +28,9 @@
|
|||
void sim_tasks_init(void);
|
||||
void sim_trigger_screendump(void);
|
||||
void sim_trigger_usb(bool inserted);
|
||||
#ifdef HAVE_HOTSWAP
|
||||
void sim_trigger_external(bool inserted);
|
||||
#endif
|
||||
void sim_trigger_hp(bool inserted);
|
||||
void sim_trigger_lo(bool inserted);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue