summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2006-03-05 20:37:56 +0000
committerDan Everton <dan@iocaine.org>2006-03-05 20:37:56 +0000
commitd11f15fcc3b20a1c7a7226aeb8e100c5b6ed6234 (patch)
tree9a5f81632fe284048fc339104ca927dfd7f0f5d6 /apps/plugins
parent3caf7a6b3fe4bae9ae360ff74a3af8d7f3c4dc98 (diff)
downloadrockbox-d11f15fcc3b20a1c7a7226aeb8e100c5b6ed6234.tar.gz
rockbox-d11f15fcc3b20a1c7a7226aeb8e100c5b6ed6234.zip
Fix red sim builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8919 a1c6a512-1295-4272-9138-f99709370657
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 */