mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-08 17:29:09 +00:00
Fix ssd1306 compilation on avr-gcc 10 (#9267)
This commit is contained in:
parent
424eeb8af7
commit
e9b3a12c6e
12 changed files with 18 additions and 6 deletions
|
@ -11,6 +11,8 @@
|
||||||
# include "sendchar.h"
|
# include "sendchar.h"
|
||||||
# include "timer.h"
|
# include "timer.h"
|
||||||
|
|
||||||
|
struct CharacterMatrix display;
|
||||||
|
|
||||||
// Set this to 1 to help diagnose early startup problems
|
// Set this to 1 to help diagnose early startup problems
|
||||||
// when testing power-on with ble. Turn it off otherwise,
|
// when testing power-on with ble. Turn it off otherwise,
|
||||||
// as the latency of printing most of the debug info messes
|
// as the latency of printing most of the debug info messes
|
||||||
|
|
|
@ -66,7 +66,7 @@ struct CharacterMatrix {
|
||||||
bool dirty;
|
bool dirty;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CharacterMatrix display;
|
extern struct CharacterMatrix display;
|
||||||
|
|
||||||
bool iota_gfx_init(void);
|
bool iota_gfx_init(void);
|
||||||
void iota_gfx_task(void);
|
void iota_gfx_task(void);
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
#include "sendchar.h"
|
#include "sendchar.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|
||||||
|
struct CharacterMatrix display;
|
||||||
|
|
||||||
extern const unsigned char font[] PROGMEM;
|
extern const unsigned char font[] PROGMEM;
|
||||||
|
|
||||||
// Set this to 1 to help diagnose early startup problems
|
// Set this to 1 to help diagnose early startup problems
|
||||||
|
|
|
@ -65,7 +65,7 @@ struct CharacterMatrix {
|
||||||
bool dirty;
|
bool dirty;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CharacterMatrix display;
|
extern struct CharacterMatrix display;
|
||||||
|
|
||||||
bool iota_gfx_init(bool rotate);
|
bool iota_gfx_init(bool rotate);
|
||||||
void iota_gfx_task(void);
|
void iota_gfx_task(void);
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
#include "sendchar.h"
|
#include "sendchar.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|
||||||
|
struct CharacterMatrix display;
|
||||||
|
|
||||||
extern const unsigned char font[] PROGMEM;
|
extern const unsigned char font[] PROGMEM;
|
||||||
|
|
||||||
// Set this to 1 to help diagnose early startup problems
|
// Set this to 1 to help diagnose early startup problems
|
||||||
|
|
|
@ -65,7 +65,7 @@ struct CharacterMatrix {
|
||||||
bool dirty;
|
bool dirty;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CharacterMatrix display;
|
extern struct CharacterMatrix display;
|
||||||
|
|
||||||
bool iota_gfx_init(bool rotate);
|
bool iota_gfx_init(bool rotate);
|
||||||
void iota_gfx_task(void);
|
void iota_gfx_task(void);
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
#include "sendchar.h"
|
#include "sendchar.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|
||||||
|
struct CharacterMatrix display;
|
||||||
|
|
||||||
extern const unsigned char font[] PROGMEM;
|
extern const unsigned char font[] PROGMEM;
|
||||||
|
|
||||||
#ifndef OLED_BLANK_CHAR
|
#ifndef OLED_BLANK_CHAR
|
||||||
|
|
|
@ -65,7 +65,7 @@ struct CharacterMatrix {
|
||||||
bool dirty;
|
bool dirty;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CharacterMatrix display;
|
extern struct CharacterMatrix display;
|
||||||
|
|
||||||
bool iota_gfx_init(bool rotate);
|
bool iota_gfx_init(bool rotate);
|
||||||
void iota_gfx_task(void);
|
void iota_gfx_task(void);
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
#include "sendchar.h"
|
#include "sendchar.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|
||||||
|
struct CharacterMatrix display;
|
||||||
|
|
||||||
// Set this to 1 to help diagnose early startup problems
|
// Set this to 1 to help diagnose early startup problems
|
||||||
// when testing power-on with ble. Turn it off otherwise,
|
// when testing power-on with ble. Turn it off otherwise,
|
||||||
// as the latency of printing most of the debug info messes
|
// as the latency of printing most of the debug info messes
|
||||||
|
|
|
@ -66,7 +66,7 @@ struct CharacterMatrix {
|
||||||
bool dirty;
|
bool dirty;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CharacterMatrix display;
|
extern struct CharacterMatrix display;
|
||||||
|
|
||||||
bool iota_gfx_init(bool rotate);
|
bool iota_gfx_init(bool rotate);
|
||||||
void iota_gfx_task(void);
|
void iota_gfx_task(void);
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
#include "sendchar.h"
|
#include "sendchar.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|
||||||
|
struct CharacterMatrix display;
|
||||||
|
|
||||||
extern const unsigned char font[] PROGMEM;
|
extern const unsigned char font[] PROGMEM;
|
||||||
|
|
||||||
// Set this to 1 to help diagnose early startup problems
|
// Set this to 1 to help diagnose early startup problems
|
||||||
|
|
|
@ -70,7 +70,7 @@ struct CharacterMatrix {
|
||||||
bool dirty;
|
bool dirty;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CharacterMatrix display;
|
extern struct CharacterMatrix display;
|
||||||
|
|
||||||
bool iota_gfx_init(bool rotate);
|
bool iota_gfx_init(bool rotate);
|
||||||
void iota_gfx_task(void);
|
void iota_gfx_task(void);
|
||||||
|
|
Loading…
Reference in a new issue