diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-01-16 10:29:03 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-01-16 10:29:03 +0100 |
commit | 1e4cb14188328df44d450467a5db2f3a6afe843b (patch) | |
tree | 8937f195857812c356635ba9dd93a5decb80afc3 | |
parent | 1f1dd626871835547b5875e2e48d64e35c55f850 (diff) | |
download | uGFX-1e4cb14188328df44d450467a5db2f3a6afe843b.tar.gz uGFX-1e4cb14188328df44d450467a5db2f3a6afe843b.tar.bz2 uGFX-1e4cb14188328df44d450467a5db2f3a6afe843b.zip |
TDISP update
-rw-r--r-- | demos/modules/tdisp/main.c | 4 |
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');
|