aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortrsaunders <trsaunders@gmail.com>2012-08-13 21:46:58 +0100
committertrsaunders <trsaunders@gmail.com>2012-08-13 21:46:58 +0100
commit61f527498f6c6705792c39f0b38d6c8794d7b39e (patch)
treea0134ccad298bd9f5e063f7fe2d8d6cc909636bc /src
parent53704f7b368f18753f82f7004ddc90f8da40903b (diff)
downloaduGFX-61f527498f6c6705792c39f0b38d6c8794d7b39e.tar.gz
uGFX-61f527498f6c6705792c39f0b38d6c8794d7b39e.tar.bz2
uGFX-61f527498f6c6705792c39f0b38d6c8794d7b39e.zip
only enable console code if driver support is available
Diffstat (limited to 'src')
-rw-r--r--src/console.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/console.c b/src/console.c
index 55bc3312..e5f2371c 100644
--- a/src/console.c
+++ b/src/console.c
@@ -25,6 +25,8 @@
#include "gdisp_fonts.h"
#include "console.h"
+#if defined(GDISP_NEED_SCROLL)
+
/*
* Interface implementation. The interface is write only
*/
@@ -168,3 +170,6 @@ msg_t lcdConsoleWrite(GLCDConsole *console, char *bp, size_t n) {
return RDY_OK;
}
+
+
+#endif /* GDISP_NEED_SCROLL */