Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ssd1306 compilation on avr-gcc 10 #9267

Merged
merged 1 commit into from
Sep 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions drivers/avr/ssd1306.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,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
2 changes: 2 additions & 0 deletions keyboards/claw44/ssd1306.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#include "sendchar.h"
#include "timer.h"

struct CharacterMatrix display;

extern const unsigned char font[] PROGMEM;

// Set this to 1 to help diagnose early startup problems
Expand Down
2 changes: 1 addition & 1 deletion keyboards/claw44/ssd1306.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions keyboards/comet46/ssd1306.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#include "sendchar.h"
#include "timer.h"

struct CharacterMatrix display;

extern const unsigned char font[] PROGMEM;

// Set this to 1 to help diagnose early startup problems
Expand Down
2 changes: 1 addition & 1 deletion keyboards/comet46/ssd1306.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions keyboards/crkbd/ssd1306.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#include "sendchar.h"
#include "timer.h"

struct CharacterMatrix display;

extern const unsigned char font[] PROGMEM;

#ifndef OLED_BLANK_CHAR
Expand Down
2 changes: 1 addition & 1 deletion keyboards/crkbd/ssd1306.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions keyboards/helix/local_drivers/ssd1306.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,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 keyboards/helix/local_drivers/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(bool rotate);
void iota_gfx_task(void);
Expand Down
2 changes: 2 additions & 0 deletions keyboards/yosino58/ssd1306.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#include "sendchar.h"
#include "timer.h"

struct CharacterMatrix display;

extern const unsigned char font[] PROGMEM;

// Set this to 1 to help diagnose early startup problems
Expand Down
2 changes: 1 addition & 1 deletion keyboards/yosino58/ssd1306.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct CharacterMatrix {
bool dirty;
};

struct CharacterMatrix display;
extern struct CharacterMatrix display;

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