summaryrefslogtreecommitdiff
path: root/keyboards/crkbd
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/crkbd
parent424eeb8af738697e05446c0949099416955df226 (diff)
Fix ssd1306 compilation on avr-gcc 10 (#9267)
Diffstat (limited to 'keyboards/crkbd')
-rw-r--r--keyboards/crkbd/ssd1306.c2
-rw-r--r--keyboards/crkbd/ssd1306.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/crkbd/ssd1306.c b/keyboards/crkbd/ssd1306.c
index b2676f386f..4ec8a9a00f 100644
--- a/keyboards/crkbd/ssd1306.c
+++ b/keyboards/crkbd/ssd1306.c
@@ -10,6 +10,8 @@
#include "sendchar.h"
#include "timer.h"
+struct CharacterMatrix display;
+
extern const unsigned char font[] PROGMEM;
#ifndef OLED_BLANK_CHAR
diff --git a/keyboards/crkbd/ssd1306.h b/keyboards/crkbd/ssd1306.h
index 0ca093093a..11a3cc67f4 100644
--- a/keyboards/crkbd/ssd1306.h
+++ b/keyboards/crkbd/ssd1306.h
@@ -65,7 +65,7 @@ struct CharacterMatrix {
bool dirty;
};
-struct CharacterMatrix display;
+extern struct CharacterMatrix display;
bool iota_gfx_init(bool rotate);
void iota_gfx_task(void);