diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-01-16 15:54:47 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-01-16 15:54:47 +0000 |
commit | 3d1ca9deb5439da170f206504945172b149ebabf (patch) | |
tree | 40ede989e0af1f19dff668ec3d6afc0bf1370e09 | |
parent | 166f7a2fe015dda37b3b1fa7a7070189493cde05 (diff) | |
download | rockbox-3d1ca9deb5439da170f206504945172b149ebabf.tar.gz rockbox-3d1ca9deb5439da170f206504945172b149ebabf.zip |
Plugin fixes for simulator: (1) Don't compile calendar for units without RTC. (2) Don't compile wormlet for non-recorders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5567 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/calendar.c | 2 | ||||
-rw-r--r-- | apps/plugins/wormlet.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c index 8870554290..44b3685c40 100644 --- a/apps/plugins/calendar.c +++ b/apps/plugins/calendar.c | |||
@@ -19,7 +19,7 @@ | |||
19 | ****************************************************************************/ | 19 | ****************************************************************************/ |
20 | #include "plugin.h" | 20 | #include "plugin.h" |
21 | 21 | ||
22 | #ifdef HAVE_LCD_BITMAP | 22 | #if defined(HAVE_LCD_BITMAP) && defined(HAVE_RTC) |
23 | 23 | ||
24 | #include <timefuncs.h> | 24 | #include <timefuncs.h> |
25 | 25 | ||
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index 8ded341bec..4c7d7ee950 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c | |||
@@ -18,7 +18,7 @@ | |||
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | #include "plugin.h" | 19 | #include "plugin.h" |
20 | 20 | ||
21 | #ifdef HAVE_LCD_BITMAP | 21 | #if defined(HAVE_LCD_BITMAP) && (CONFIG_KEYPAD == RECORDER_PAD) |
22 | 22 | ||
23 | /* size of the field the worm lives in */ | 23 | /* size of the field the worm lives in */ |
24 | #define FIELD_RECT_X 1 | 24 | #define FIELD_RECT_X 1 |