summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config.h2
-rw-r--r--firmware/export/config/sim.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index b3616ad..1998720 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -1109,9 +1109,11 @@ Lyre prototype 1 */
#define INCLUDE_TIMEOUT_API
#endif /* HAVE_GUI_BOOST && HAVE_ADJUSTABLE_CPU_FREQ */
+#ifndef SIMULATOR
#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND)
#define STORAGE_GET_INFO
#endif
+#endif
#ifdef CPU_MIPS
#include <stdbool.h> /* MIPS GCC fix? */
diff --git a/firmware/export/config/sim.h b/firmware/export/config/sim.h
index 0d075b0..2f819b7 100644
--- a/firmware/export/config/sim.h
+++ b/firmware/export/config/sim.h
@@ -33,7 +33,6 @@
#undef HAVE_STORAGE_FLUSH
#undef CONFIG_NAND
-#undef HAVE_STORAGE_GET_INFO
#if defined(CONFIG_CHARGING) && CONFIG_CHARGING > CHARGING_MONITOR
#undef CONFIG_CHARGING