aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 */