diff options
author | trsaunders <trsaunders@gmail.com> | 2012-08-13 21:46:58 +0100 |
---|---|---|
committer | trsaunders <trsaunders@gmail.com> | 2012-08-13 21:46:58 +0100 |
commit | 61f527498f6c6705792c39f0b38d6c8794d7b39e (patch) | |
tree | a0134ccad298bd9f5e063f7fe2d8d6cc909636bc /src | |
parent | 53704f7b368f18753f82f7004ddc90f8da40903b (diff) | |
download | uGFX-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.c | 5 |
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 */
|