diff options
author | Joel Challis <git@zvecr.com> | 2020-09-17 01:42:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 10:42:24 +1000 |
commit | e9b3a12c6e43444f5f6a6e3f63b5e4ece80740eb (patch) | |
tree | 7c574d7f5f0fa35fd6b200ea6c3ac48db553fe0f /keyboards/helix | |
parent | 424eeb8af738697e05446c0949099416955df226 (diff) |
Fix ssd1306 compilation on avr-gcc 10 (#9267)
Diffstat (limited to 'keyboards/helix')
-rw-r--r-- | keyboards/helix/local_drivers/ssd1306.c | 2 | ||||
-rw-r--r-- | keyboards/helix/local_drivers/ssd1306.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/helix/local_drivers/ssd1306.c b/keyboards/helix/local_drivers/ssd1306.c index 00b2fb0eec..c6fc4b7854 100644 --- a/keyboards/helix/local_drivers/ssd1306.c +++ b/keyboards/helix/local_drivers/ssd1306.c @@ -16,6 +16,8 @@ #include "sendchar.h" #include "timer.h" +struct CharacterMatrix display; + // Set this to 1 to help diagnose early startup problems // when testing power-on with ble. Turn it off otherwise, // as the latency of printing most of the debug info messes diff --git a/keyboards/helix/local_drivers/ssd1306.h b/keyboards/helix/local_drivers/ssd1306.h index f9f91c6fed..bcb30f8859 100644 --- a/keyboards/helix/local_drivers/ssd1306.h +++ b/keyboards/helix/local_drivers/ssd1306.h @@ -66,7 +66,7 @@ struct CharacterMatrix { bool dirty; }; -struct CharacterMatrix display; +extern struct CharacterMatrix display; bool iota_gfx_init(bool rotate); void iota_gfx_task(void); |