diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/oscillograph.c | 4 |
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 #endif +#if SIMULATOR && (CONFIG_CODEC != SWCODEC) +#define mas_codec_readreg(x) rand()%MAX_PEAK +#endif + /* global api struct pointer */ static struct plugin_api* rb; /* number of ticks between two volume samples */ |