Simplify tinygl API by removing rotate options and using rotated font instead
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include "spacey.h"
|
||||
#include "eeprom.h"
|
||||
#include "uint8toa.h"
|
||||
#include "../fonts/font3x5_1.h"
|
||||
#include "../fonts/font3x5_1_r.h"
|
||||
|
||||
|
||||
#define VERSION "1.6"
|
||||
@@ -276,8 +276,8 @@ static void display_task (__unused__ void *data)
|
||||
uint8_t i;
|
||||
|
||||
tinygl_init (DISPLAY_UPDATE_RATE);
|
||||
tinygl_font_set (&font3x5_1);
|
||||
tinygl_text_mode_set (TINYGL_TEXT_MODE_ROTATE_SCROLL_DOWN);
|
||||
tinygl_font_set (&font3x5_1_r);
|
||||
tinygl_text_mode_set (TINYGL_TEXT_MODE_SCROLL);
|
||||
tinygl_text_speed_set (10);
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE (flashers); i++)
|
||||
|
||||
Reference in New Issue
Block a user