aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/modules/tdisp/main.c4
1 files changed, 3 insertions, 1 deletions
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');