Add TINYGL_MESSAGE_SIZE

This commit is contained in:
Michael Hayes
2011-09-17 22:33:23 +00:00
parent efaa83d66c
commit d38efe2a4b
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ static font_t *font;
static tinygl_text_mode_t text_mode = TINYGL_TEXT_MODE_STEP;
static uint8_t message_index;
static uint8_t scroll_pos = 0;
static char message1[32] = "";
static char message1[TINYGL_MESSAGE_SIZE] = "";
/** Draw point.
+4
View File
@@ -81,6 +81,10 @@
#define TINYGL_HEIGHT DISPLAY_HEIGHT
/** Maximum length of a message to display. */
#define TINYGL_MESSAGE_SIZE 32
/** Define a pixel value. Currently the only supported values are 0
for off and 1 for on. */
typedef uint8_t tinygl_pixel_value_t;