Browse Source

Fix ssd1306 compilation on avr-gcc 10 (#9267)

pull/10340/head 0.10.11
Joel Challis 3 years ago
committed by GitHub
parent
commit
e9b3a12c6e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 18 additions and 6 deletions
  1. +2
    -0
      drivers/avr/ssd1306.c
  2. +1
    -1
      drivers/avr/ssd1306.h
  3. +2
    -0
      keyboards/claw44/ssd1306.c
  4. +1
    -1
      keyboards/claw44/ssd1306.h
  5. +2
    -0
      keyboards/comet46/ssd1306.c
  6. +1
    -1
      keyboards/comet46/ssd1306.h
  7. +2
    -0
      keyboards/crkbd/ssd1306.c
  8. +1
    -1
      keyboards/crkbd/ssd1306.h
  9. +2
    -0
      keyboards/helix/local_drivers/ssd1306.c
  10. +1
    -1
      keyboards/helix/local_drivers/ssd1306.h
  11. +2
    -0
      keyboards/yosino58/ssd1306.c
  12. +1
    -1
      keyboards/yosino58/ssd1306.h

+ 2
- 0
drivers/avr/ssd1306.c View File

@ -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


+ 1
- 1
drivers/avr/ssd1306.h View File

@ -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);


+ 2
- 0
keyboards/claw44/ssd1306.c View File

@ -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


+ 1
- 1
keyboards/claw44/ssd1306.h View File

@ -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);


+ 2
- 0
keyboards/comet46/ssd1306.c View File

@ -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


+ 1
- 1
keyboards/comet46/ssd1306.h View File

@ -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);


+ 2
- 0
keyboards/crkbd/ssd1306.c View File

@ -10,6 +10,8 @@
#include "sendchar.h"
#include "timer.h"
struct CharacterMatrix display;
extern const unsigned char font[] PROGMEM;
#ifndef OLED_BLANK_CHAR


+ 1
- 1
keyboards/crkbd/ssd1306.h View File

@ -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);


+ 2
- 0
keyboards/helix/local_drivers/ssd1306.c View File

@ -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


+ 1
- 1
keyboards/helix/local_drivers/ssd1306.h View File

@ -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);


+ 2
- 0
keyboards/yosino58/ssd1306.c View File

@ -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


+ 1
- 1
keyboards/yosino58/ssd1306.h View File

@ -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);


Loading…
Cancel
Save