summaryrefslogtreecommitdiff
path: root/apps/plugins/oscilloscope.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-04 12:41:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-04 12:41:09 +0000
commit6700ad8f206d0beba92e22680504ae6ba2b7d74c (patch)
tree1eba76a3a966d2a38e1819157917918b7721ff0b /apps/plugins/oscilloscope.c
parent3fcfdffe88025a943f9c72f7b86363dc08edaecd (diff)
adapted to build on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/oscilloscope.c')
-rw-r--r--apps/plugins/oscilloscope.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/oscilloscope.c b/apps/plugins/oscilloscope.c
index cfb8330134..caa09a0ed4 100644
--- a/apps/plugins/oscilloscope.c
+++ b/apps/plugins/oscilloscope.c
@@ -23,6 +23,7 @@
#include "plugin.h"
#ifdef HAVE_LCD_BITMAP /* and also not for the Player */
+#if CONFIG_HWCODEC != MASNONE /* only for MAS-targets */
/* The different drawing modes */
#define DRAW_MODE_FILLED 0
@@ -269,5 +270,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
cleanup(NULL);
return PLUGIN_OK;
}
-#endif
-#endif
+#endif /* if using MAS */
+#endif /* if HAVE_LCD_BITMAP */
+#endif /* SIMULATOR */