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:
Solomon Peachy 2024-07-07 15:01:02 -04:00
parent 1528b44349
commit 5a2bd580cd
5 changed files with 10 additions and 5 deletions

View file

@ -340,7 +340,7 @@ static void button_event(int key, bool pressed)
}
return;
#endif
#ifdef HAVE_MULTIDRIVE
#ifdef HAVE_HOTSWAP
case EXT_KEY:
if (!pressed)
sim_trigger_external(!storage_present(1));