aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-01-16 10:29:03 +0100
committerJoel Bodenmann <joel@unormal.org>2013-01-16 10:29:03 +0100
commit1e4cb14188328df44d450467a5db2f3a6afe843b (patch)
tree8937f195857812c356635ba9dd93a5decb80afc3 /demos/modules
parent1f1dd626871835547b5875e2e48d64e35c55f850 (diff)
downloaduGFX-1e4cb14188328df44d450467a5db2f3a6afe843b.tar.gz
uGFX-1e4cb14188328df44d450467a5db2f3a6afe843b.tar.bz2
uGFX-1e4cb14188328df44d450467a5db2f3a6afe843b.zip
TDISP update
Diffstat (limited to 'demos/modules')
-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');