Skip to content

Commit

Permalink
Fix ssd1306 compilation on avr-gcc 10 (qmk#9267)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored Sep 17, 2020
1 parent 3babe3a commit e44e552
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions drivers/avr/ssd1306.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,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
Expand Down
2 changes: 1 addition & 1 deletion drivers/avr/ssd1306.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ struct CharacterMatrix {
bool dirty;
};

struct CharacterMatrix display;
extern struct CharacterMatrix display;

bool iota_gfx_init(void);
void iota_gfx_task(void);
Expand Down

0 comments on commit e44e552

Please sign in to comment.