From d11f15fcc3b20a1c7a7226aeb8e100c5b6ed6234 Mon Sep 17 00:00:00 2001 From: Dan Everton Date: Sun, 5 Mar 2006 20:37:56 +0000 Subject: Fix red sim builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8919 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/oscillograph.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/plugins') 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 */ -- cgit v1.2.3