commit 5eb3a26f8be8d14acc91861c32dec03073f07f44
parent efea4b8efa3622b5a87fe7ad2ad3bf93d2a0be98
Author: Lukas F. Hartmann <lukas@mntre.com>
Date: Thu, 1 Sep 2022 20:21:31 +0200
keyboard-fw: fix 'display' definition
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/reform2-keyboard-fw/oled.c b/reform2-keyboard-fw/oled.c
@@ -13,6 +13,7 @@
#include <avr/pgmspace.h>
#include "gfx/font.c"
+struct CharacterMatrix display;
int oledbrt = 0;
// Write command sequence.
diff --git a/reform2-keyboard-fw/oled.h b/reform2-keyboard-fw/oled.h
@@ -68,8 +68,6 @@ struct CharacterMatrix {
bool dirty;
};
-struct CharacterMatrix display;
-
void gfx_poke(uint8_t x, uint8_t y, uint8_t c);
void gfx_poke_str(uint8_t x, uint8_t y, char* str);
void gfx_clear_invert(void);