diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index edc8f9f9c2..c373d72dfe 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 19150bad60..7a975f434d 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 */ +