1
0
Fork 0
forked from len0rd/rockbox

rk27xx: Fix simulator errors brought upon by HAVE_MULTIDRIVE but not HAVE_HOTSWAP

Change-Id: I0171d01dfffbb936e8041c0e2fc5207c620ddce3
This commit is contained in:
Solomon Peachy 2024-07-07 16:02:38 -04:00
parent 60c3fdbc11
commit c51a9821e7
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@
#include "panic.h"
#include "stdbool.h"
#include "storage.h"
#include "timeout.h"
#include "lcd.h"
#include <stdarg.h>
#include "sysfont.h"

View file

@ -114,7 +114,7 @@ void sim_thread(void)
* do it here anyway but don't depend on the acks */
queue_broadcast(SYS_USB_DISCONNECTED, 0);
break;
#ifdef HAVE_MULTIDRIVE
#ifdef HAVE_HOTSWAP
case SIM_EXT_INSERTED:
case SIM_EXT_EXTRACTED:
sim_ext_extracted(ev.data);