Add TINYGL_MESSAGE_SIZE
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user