From 1e4cb14188328df44d450467a5db2f3a6afe843b Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Wed, 16 Jan 2013 10:29:03 +0100 Subject: [PATCH] TDISP update --- demos/modules/tdisp/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/demos/modules/tdisp/main.c b/demos/modules/tdisp/main.c index 4ee53c99..69ab7349 100644 --- a/demos/modules/tdisp/main.c +++ b/demos/modules/tdisp/main.c @@ -23,6 +23,8 @@ #include "gfx.h" int main(void) { + char charmap[8]; + halInit(); chSysInit(); @@ -33,7 +35,7 @@ int main(void) { tdispClear(); /* set cursor position and draw single characters */ - tdispGotoXY(4, 0); + tdispSetCursor(4, 0); tdispDrawChar('H'); tdispDrawChar('D'); tdispDrawChar('4');