diff options
author | Dan Everton <dan@iocaine.org> | 2006-03-05 20:37:56 +0000 |
---|---|---|
committer | Dan Everton <dan@iocaine.org> | 2006-03-05 20:37:56 +0000 |
commit | d11f15fcc3b20a1c7a7226aeb8e100c5b6ed6234 (patch) | |
tree | 9a5f81632fe284048fc339104ca927dfd7f0f5d6 /apps/plugins/oscillograph.c | |
parent | 3caf7a6b3fe4bae9ae360ff74a3af8d7f3c4dc98 (diff) | |
download | rockbox-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/oscillograph.c')
-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 | |||
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 */ |
88 | static struct plugin_api* rb; | 92 | static struct plugin_api* rb; |
89 | /* number of ticks between two volume samples */ | 93 | /* number of ticks between two volume samples */ |