aboutsummaryrefslogtreecommitdiff
path: root/keyboards/yosino58
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-09-17 01:42:24 +0100
committerGitHub <noreply@github.com>2020-09-17 10:42:24 +1000
commite9b3a12c6e43444f5f6a6e3f63b5e4ece80740eb (patch)
tree7c574d7f5f0fa35fd6b200ea6c3ac48db553fe0f /keyboards/yosino58
parent424eeb8af738697e05446c0949099416955df226 (diff)
downloadqmk_firmware-e9b3a12c6e43444f5f6a6e3f63b5e4ece80740eb.tar.gz
qmk_firmware-e9b3a12c6e43444f5f6a6e3f63b5e4ece80740eb.zip
Fix ssd1306 compilation on avr-gcc 10 (#9267)
Diffstat (limited to 'keyboards/yosino58')
-rw-r--r--keyboards/yosino58/ssd1306.c2
-rw-r--r--keyboards/yosino58/ssd1306.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/yosino58/ssd1306.c b/keyboards/yosino58/ssd1306.c
index ff6ba210d..abd9de2f7 100644
--- a/keyboards/yosino58/ssd1306.c
+++ b/keyboards/yosino58/ssd1306.c
@@ -10,6 +10,8 @@
10#include "sendchar.h" 10#include "sendchar.h"
11#include "timer.h" 11#include "timer.h"
12 12
13struct CharacterMatrix display;
14
13extern const unsigned char font[] PROGMEM; 15extern const unsigned char font[] PROGMEM;
14 16
15// Set this to 1 to help diagnose early startup problems 17// Set this to 1 to help diagnose early startup problems
diff --git a/keyboards/yosino58/ssd1306.h b/keyboards/yosino58/ssd1306.h
index acaf6217e..35e4c144c 100644
--- a/keyboards/yosino58/ssd1306.h
+++ b/keyboards/yosino58/ssd1306.h
@@ -70,7 +70,7 @@ struct CharacterMatrix {
70 bool dirty; 70 bool dirty;
71}; 71};
72 72
73struct CharacterMatrix display; 73extern struct CharacterMatrix display;
74 74
75bool iota_gfx_init(bool rotate); 75bool iota_gfx_init(bool rotate);
76void iota_gfx_task(void); 76void iota_gfx_task(void);