Revert last change
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include "task.h"
|
||||
#include "tweeter.h"
|
||||
#include "tinygl.h"
|
||||
#include "../fonts/font3x5_1_r.h"
|
||||
#include "../fonts/font3x5_1.h"
|
||||
|
||||
|
||||
/* Connect piezo tweeter to outermost pins of UCFK4 P1 connector. */
|
||||
@@ -77,7 +77,7 @@ static void button_task_init (void)
|
||||
static void display_note (void)
|
||||
{
|
||||
tinygl_clear ();
|
||||
tinygl_draw_string (note_names[note], tinygl_point (0, 0));
|
||||
tinygl_draw_string (note_names[note], tinygl_point (0, 0), 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -122,8 +122,8 @@ static void button_task (__unused__ void *data)
|
||||
static void display_task_init (void)
|
||||
{
|
||||
tinygl_init (DISPLAY_TASK_RATE);
|
||||
tinygl_font_set (&font3x5_1_r);
|
||||
tinygl_text_mode_set (TINYGL_TEXT_MODE_STEP);
|
||||
tinygl_font_set (&font3x5_1);
|
||||
tinygl_text_mode_set (TINYGL_TEXT_MODE_ROTATE_STEP);
|
||||
|
||||
display_note ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user