summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-07-07 16:02:38 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-07-07 16:02:38 -0400
commitc51a9821e735b0944072b1a20f52ac7fed865a97 (patch)
treec4618da375232c0881842424e6329cc80eb149ee
parent60c3fdbc11e990f34c2181214eede37679b29907 (diff)
downloadrockbox-c51a9821e7.tar.gz
rockbox-c51a9821e7.zip
rk27xx: Fix simulator errors brought upon by HAVE_MULTIDRIVE but not HAVE_HOTSWAP
Change-Id: I0171d01dfffbb936e8041c0e2fc5207c620ddce3
-rw-r--r--firmware/target/arm/rk27xx/sd-rk27xx.c2
-rw-r--r--uisimulator/common/sim_tasks.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/rk27xx/sd-rk27xx.c b/firmware/target/arm/rk27xx/sd-rk27xx.c
index 2ddf91a67e..68ecd444c6 100644
--- a/firmware/target/arm/rk27xx/sd-rk27xx.c
+++ b/firmware/target/arm/rk27xx/sd-rk27xx.c
@@ -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"
diff --git a/uisimulator/common/sim_tasks.c b/uisimulator/common/sim_tasks.c
index ef67fd24ee..3367982c27 100644
--- a/uisimulator/common/sim_tasks.c
+++ b/uisimulator/common/sim_tasks.c
@@ -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);