From 3b7057fdae3cc47b61f0a3b14443a56cd52f4c2e Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 23 Feb 2014 23:03:18 +0100 Subject: Second try at undefing STORAGE_GET_INFO, the previous one was too hasty, sorry. Change-Id: If938c132d46efcb531227d9fde8cce91104566e0 --- firmware/export/config.h | 2 ++ firmware/export/config/sim.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware') diff --git a/firmware/export/config.h b/firmware/export/config.h index b3616ad3d3..1998720f87 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 /* MIPS GCC fix? */ diff --git a/firmware/export/config/sim.h b/firmware/export/config/sim.h index 0d075b0fcd..2f819b733e 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 -- cgit v1.2.3