summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/SOURCES6
-rw-r--r--apps/plugins/metronome.c4
2 files changed, 6 insertions, 4 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index edc8f9f..c373d72 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -7,7 +7,6 @@ dict.c
favorites.c
firmware_flash.c
logo.c
-metronome.c
mosaique.c
random_folder_advance_config.c
#if (LCD_WIDTH != 240) && ((LCD_WIDTH != 128) || (LCD_HEIGHT != 64)) && !defined(SANSA_E200)
@@ -22,6 +21,11 @@ stopwatch.c
vbrfix.c
viewer.c
+/* plugins built for all targets, but not for the simulator */
+#if !defined(SIMULATOR)
+metronome.c
+#endif
+
#if ((CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)) && !defined(SIMULATOR)
wavplay.c
#endif
diff --git a/apps/plugins/metronome.c b/apps/plugins/metronome.c
index 19150ba..7a975f4 100644
--- a/apps/plugins/metronome.c
+++ b/apps/plugins/metronome.c
@@ -18,8 +18,6 @@
****************************************************************************/
#include "plugin.h"
-#if !defined(SIMULATOR)
-
PLUGIN_HEADER
/* variable button definitions */
@@ -1081,4 +1079,4 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter){
}
}
}
-#endif /* #ifndef SIMULATOR */
+