only enable console code if driver support is available
This commit is contained in:
parent
53704f7b36
commit
61f527498f
1 changed files with 5 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue