summaryrefslogtreecommitdiffstats
path: root/apps/plugins/vu_meter.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/vu_meter.c')
-rw-r--r--apps/plugins/vu_meter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/vu_meter.c b/apps/plugins/vu_meter.c
index 4a68088270..17f4e58165 100644
--- a/apps/plugins/vu_meter.c
+++ b/apps/plugins/vu_meter.c
@@ -131,7 +131,7 @@ PLUGIN_HEADER
const struct plugin_api* rb;
-#if SIMULATOR && (CONFIG_CODEC != SWCODEC)
+#if defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)
#define mas_codec_readreg(x) rand()%MAX_PEAK
#endif