diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-07-07 16:02:38 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-07-07 16:02:38 -0400 |
commit | c51a9821e735b0944072b1a20f52ac7fed865a97 (patch) | |
tree | c4618da375232c0881842424e6329cc80eb149ee | |
parent | 60c3fdbc11e990f34c2181214eede37679b29907 (diff) | |
download | rockbox-c51a9821e735b0944072b1a20f52ac7fed865a97.tar.gz rockbox-c51a9821e735b0944072b1a20f52ac7fed865a97.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.c | 2 | ||||
-rw-r--r-- | uisimulator/common/sim_tasks.c | 2 |
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 @@ | |||
35 | #include "panic.h" | 35 | #include "panic.h" |
36 | #include "stdbool.h" | 36 | #include "stdbool.h" |
37 | #include "storage.h" | 37 | #include "storage.h" |
38 | 38 | #include "timeout.h" | |
39 | #include "lcd.h" | 39 | #include "lcd.h" |
40 | #include <stdarg.h> | 40 | #include <stdarg.h> |
41 | #include "sysfont.h" | 41 | #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) | |||
114 | * do it here anyway but don't depend on the acks */ | 114 | * do it here anyway but don't depend on the acks */ |
115 | queue_broadcast(SYS_USB_DISCONNECTED, 0); | 115 | queue_broadcast(SYS_USB_DISCONNECTED, 0); |
116 | break; | 116 | break; |
117 | #ifdef HAVE_MULTIDRIVE | 117 | #ifdef HAVE_HOTSWAP |
118 | case SIM_EXT_INSERTED: | 118 | case SIM_EXT_INSERTED: |
119 | case SIM_EXT_EXTRACTED: | 119 | case SIM_EXT_EXTRACTED: |
120 | sim_ext_extracted(ev.data); | 120 | sim_ext_extracted(ev.data); |