summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--apps/plugins/calendar.c2
-rw-r--r--apps/plugins/wormlet.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c
index 8870554..44b3685 100644
--- a/apps/plugins/calendar.c
+++ b/apps/plugins/calendar.c
@@ -19,7 +19,7 @@
****************************************************************************/
#include "plugin.h"
-#ifdef HAVE_LCD_BITMAP
+#if defined(HAVE_LCD_BITMAP) && defined(HAVE_RTC)
#include <timefuncs.h>
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index 8ded341..4c7d7ee 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -18,7 +18,7 @@
****************************************************************************/
#include "plugin.h"
-#ifdef HAVE_LCD_BITMAP
+#if defined(HAVE_LCD_BITMAP) && (CONFIG_KEYPAD == RECORDER_PAD)
/* size of the field the worm lives in */
#define FIELD_RECT_X 1