console update
This commit is contained in:
parent
166d78c97a
commit
c02d0868bc
2 changed files with 5 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
||||||
#define CONSOLE_H
|
#define CONSOLE_H
|
||||||
|
|
||||||
#ifndef GDISP_NEED_CONSOLE
|
#ifndef GDISP_NEED_CONSOLE
|
||||||
#define GDISP_NEED_CONSOLE FALSE
|
#undef GDISP_NEED_CONSOLE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if GDISP_NEED_CONSOLE
|
#if GDISP_NEED_CONSOLE
|
||||||
|
|
|
@ -22,6 +22,8 @@
|
||||||
#include "hal.h"
|
#include "hal.h"
|
||||||
#include "console.h"
|
#include "console.h"
|
||||||
|
|
||||||
|
#if GDISP_NEED_CONSOLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @extends BaseAsynchronousChannelVMT
|
* @extends BaseAsynchronousChannelVMT
|
||||||
*
|
*
|
||||||
|
@ -185,3 +187,5 @@ msg_t lcdConsoleWrite(GConsole *console, const uint8_t *bp, size_t n) {
|
||||||
return RDY_OK;
|
return RDY_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue