Revert tinygl_text API and add tinygl_draw_message

This commit is contained in:
Michael Hayes
2011-09-24 21:25:49 +00:00
parent cc3347edd4
commit 76665cbc7f
26 changed files with 65 additions and 52 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ static void show_count (uint8_t count)
buffer[0] = 'S';
buffer[1] = count + '0';
buffer[2] = 0;
tinygl_text (buffer, tinygl_point (0, TINYGL_HEIGHT - 1));
tinygl_text (buffer);
}
@@ -40,7 +40,7 @@ static void show_err (uint8_t err)
buffer[0] = 'E';
buffer[1] = err + '0';
buffer[2] = 0;
tinygl_text (buffer, tinygl_point (0, TINYGL_HEIGHT - 1));
tinygl_text (buffer);
}