summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/oscillograph.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/oscillograph.c b/apps/plugins/oscillograph.c
index a8d3243444..ed0e7a87af 100644
--- a/apps/plugins/oscillograph.c
+++ b/apps/plugins/oscillograph.c
@@ -84,6 +84,10 @@ PLUGIN_HEADER
84 84
85#endif 85#endif
86 86
87#if SIMULATOR && (CONFIG_CODEC != SWCODEC)
88#define mas_codec_readreg(x) rand()%MAX_PEAK
89#endif
90
87/* global api struct pointer */ 91/* global api struct pointer */
88static struct plugin_api* rb; 92static struct plugin_api* rb;
89/* number of ticks between two volume samples */ 93/* number of ticks between two volume samples */