diff options
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -35,8 +35,6 @@ struct GLCDConsole { const struct GLCDConsoleVMT *vmt; _base_asynchronous_channel_data /* WARNING: Do not add any data to this struct above this comment, only below */ - /* text buffer */ - uint8_t *buf; /* font */ font_t font; /* lcd area to use */ @@ -49,16 +47,14 @@ struct GLCDConsole { uint16_t bkcolor, color; /* font size in pixels */ uint8_t fy; - /* buffer index */ - uint16_t wptr, blen, bstrt; }; #ifdef __cplusplus extern "C" { #endif -msg_t lcdConsoleInit(GLCDConsole *console, uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, - font_t font, uint8_t *buffer, uint16_t bkcolor, uint16_t color); +msg_t lcdConsoleInit(GLCDConsole *console, uint16_t x0, uint16_t y0, uint16_t width, uint16_t height, + font_t font, uint16_t bkcolor, uint16_t color); msg_t lcdConsolePut(GLCDConsole *console, char c); msg_t lcdConsoleWrite(GLCDConsole *console, uint8_t *bp, size_t n); |