diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 2 | ||||
-rw-r--r-- | firmware/export/config/sim.h | 5 | ||||
-rw-r--r-- | firmware/export/mv.h | 3 |
3 files changed, 4 insertions, 6 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 3d94828ec3..5e5425a697 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -893,7 +893,7 @@ Lyre prototype 1 */ | |||
893 | #endif | 893 | #endif |
894 | 894 | ||
895 | /* Bootloaders don't need multivolume awareness */ | 895 | /* Bootloaders don't need multivolume awareness */ |
896 | #if defined(BOOTLOADER) && defined(HAVE_MULTIVOLUME) | 896 | #if defined(BOOTLOADER) && defined(HAVE_MULTIVOLUME) && !(CONFIG_PLATFORM & PLATFORM_HOSTED) |
897 | #undef HAVE_MULTIVOLUME | 897 | #undef HAVE_MULTIVOLUME |
898 | #endif | 898 | #endif |
899 | 899 | ||
diff --git a/firmware/export/config/sim.h b/firmware/export/config/sim.h index 89a0f12b6a..0aeca695f0 100644 --- a/firmware/export/config/sim.h +++ b/firmware/export/config/sim.h | |||
@@ -25,11 +25,6 @@ | |||
25 | 25 | ||
26 | #undef AMS_OF_SIZE | 26 | #undef AMS_OF_SIZE |
27 | 27 | ||
28 | /* Simulator core requires hotswap */ | ||
29 | #ifndef HAVE_HOTSWAP | ||
30 | #define HAVE_HOTSWAP | ||
31 | #endif | ||
32 | |||
33 | #undef HAVE_HOTSWAP_STORAGE_AS_MAIN | 28 | #undef HAVE_HOTSWAP_STORAGE_AS_MAIN |
34 | #undef HAVE_STORAGE_FLUSH | 29 | #undef HAVE_STORAGE_FLUSH |
35 | 30 | ||
diff --git a/firmware/export/mv.h b/firmware/export/mv.h index 966ff9a032..1122c7b85f 100644 --- a/firmware/export/mv.h +++ b/firmware/export/mv.h | |||
@@ -120,6 +120,9 @@ bool volume_ismounted(IF_MV_NONVOID(int volume)); | |||
120 | #ifdef HAVE_HOTSWAP | 120 | #ifdef HAVE_HOTSWAP |
121 | bool volume_removable(int volume); | 121 | bool volume_removable(int volume); |
122 | bool volume_present(int volume); | 122 | bool volume_present(int volume); |
123 | #else | ||
124 | #define volume_present(x) 1 | ||
125 | #define volueme_removeable(x) 0 | ||
123 | #endif /* HAVE_HOTSWAP */ | 126 | #endif /* HAVE_HOTSWAP */ |
124 | 127 | ||
125 | #ifdef HAVE_MULTIDRIVE | 128 | #ifdef HAVE_MULTIDRIVE |