~ruther/qmk_firmware

e9b3a12c6e43444f5f6a6e3f63b5e4ece80740eb — Joel Challis 5 years ago 424eeb8
Fix ssd1306 compilation on avr-gcc 10 (#9267)

M drivers/avr/ssd1306.c => drivers/avr/ssd1306.c +2 -0
@@ 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

M drivers/avr/ssd1306.h => drivers/avr/ssd1306.h +1 -1
@@ 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);

M keyboards/claw44/ssd1306.c => keyboards/claw44/ssd1306.c +2 -0
@@ 10,6 10,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

M keyboards/claw44/ssd1306.h => keyboards/claw44/ssd1306.h +1 -1
@@ 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);

M keyboards/comet46/ssd1306.c => keyboards/comet46/ssd1306.c +2 -0
@@ 10,6 10,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

M keyboards/comet46/ssd1306.h => keyboards/comet46/ssd1306.h +1 -1
@@ 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);

M keyboards/crkbd/ssd1306.c => keyboards/crkbd/ssd1306.c +2 -0
@@ 10,6 10,8 @@
#include "sendchar.h"
#include "timer.h"

struct CharacterMatrix display;

extern const unsigned char font[] PROGMEM;

#ifndef OLED_BLANK_CHAR

M keyboards/crkbd/ssd1306.h => keyboards/crkbd/ssd1306.h +1 -1
@@ 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);

M keyboards/helix/local_drivers/ssd1306.c => keyboards/helix/local_drivers/ssd1306.c +2 -0
@@ 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

M keyboards/helix/local_drivers/ssd1306.h => keyboards/helix/local_drivers/ssd1306.h +1 -1
@@ 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);

M keyboards/yosino58/ssd1306.c => keyboards/yosino58/ssd1306.c +2 -0
@@ 10,6 10,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

M keyboards/yosino58/ssd1306.h => keyboards/yosino58/ssd1306.h +1 -1
@@ 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);