From 5a2bd580cdd3d83daef3e5c0da1cf0b0236f1d05 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 7 Jul 2024 15:01:02 -0400 Subject: 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 --- uisimulator/common/sim_tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uisimulator/common/sim_tasks.c') diff --git a/uisimulator/common/sim_tasks.c b/uisimulator/common/sim_tasks.c index 839ad828b8..6662b28767 100644 --- a/uisimulator/common/sim_tasks.c +++ b/uisimulator/common/sim_tasks.c @@ -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; -- cgit v1.2.3