diff options
| -rw-r--r-- | drivers/avr/ssd1306.c | 2 | ||||
| -rw-r--r-- | drivers/avr/ssd1306.h | 2 | ||||
| -rw-r--r-- | keyboards/claw44/ssd1306.c | 2 | ||||
| -rw-r--r-- | keyboards/claw44/ssd1306.h | 2 | ||||
| -rw-r--r-- | keyboards/comet46/ssd1306.c | 2 | ||||
| -rw-r--r-- | keyboards/comet46/ssd1306.h | 2 | ||||
| -rw-r--r-- | keyboards/crkbd/ssd1306.c | 2 | ||||
| -rw-r--r-- | keyboards/crkbd/ssd1306.h | 2 | ||||
| -rw-r--r-- | keyboards/helix/local_drivers/ssd1306.c | 2 | ||||
| -rw-r--r-- | keyboards/helix/local_drivers/ssd1306.h | 2 | ||||
| -rw-r--r-- | keyboards/yosino58/ssd1306.c | 2 | ||||
| -rw-r--r-- | keyboards/yosino58/ssd1306.h | 2 |
12 files changed, 18 insertions, 6 deletions
diff --git a/drivers/avr/ssd1306.c b/drivers/avr/ssd1306.c index 205f74950..1a09a2bcb 100644 --- a/drivers/avr/ssd1306.c +++ b/drivers/avr/ssd1306.c | |||
| @@ -11,6 +11,8 @@ | |||
| 11 | # include "sendchar.h" | 11 | # include "sendchar.h" |
| 12 | # include "timer.h" | 12 | # include "timer.h" |
| 13 | 13 | ||
| 14 | struct CharacterMatrix display; | ||
| 15 | |||
| 14 | // Set this to 1 to help diagnose early startup problems | 16 | // Set this to 1 to help diagnose early startup problems |
| 15 | // when testing power-on with ble. Turn it off otherwise, | 17 | // when testing power-on with ble. Turn it off otherwise, |
| 16 | // as the latency of printing most of the debug info messes | 18 | // as the latency of printing most of the debug info messes |
diff --git a/drivers/avr/ssd1306.h b/drivers/avr/ssd1306.h index 9669d1b7e..9131afcf6 100644 --- a/drivers/avr/ssd1306.h +++ b/drivers/avr/ssd1306.h | |||
| @@ -66,7 +66,7 @@ struct CharacterMatrix { | |||
| 66 | bool dirty; | 66 | bool dirty; |
| 67 | }; | 67 | }; |
| 68 | 68 | ||
| 69 | struct CharacterMatrix display; | 69 | extern struct CharacterMatrix display; |
| 70 | 70 | ||
| 71 | bool iota_gfx_init(void); | 71 | bool iota_gfx_init(void); |
| 72 | void iota_gfx_task(void); | 72 | void iota_gfx_task(void); |
diff --git a/keyboards/claw44/ssd1306.c b/keyboards/claw44/ssd1306.c index e04a43135..7dea1cc17 100644 --- a/keyboards/claw44/ssd1306.c +++ b/keyboards/claw44/ssd1306.c | |||
| @@ -10,6 +10,8 @@ | |||
| 10 | #include "sendchar.h" | 10 | #include "sendchar.h" |
| 11 | #include "timer.h" | 11 | #include "timer.h" |
| 12 | 12 | ||
| 13 | struct CharacterMatrix display; | ||
| 14 | |||
| 13 | extern const unsigned char font[] PROGMEM; | 15 | extern const unsigned char font[] PROGMEM; |
| 14 | 16 | ||
| 15 | // Set this to 1 to help diagnose early startup problems | 17 | // Set this to 1 to help diagnose early startup problems |
diff --git a/keyboards/claw44/ssd1306.h b/keyboards/claw44/ssd1306.h index 0ca093093..11a3cc67f 100644 --- a/keyboards/claw44/ssd1306.h +++ b/keyboards/claw44/ssd1306.h | |||
| @@ -65,7 +65,7 @@ struct CharacterMatrix { | |||
| 65 | bool dirty; | 65 | bool dirty; |
| 66 | }; | 66 | }; |
| 67 | 67 | ||
| 68 | struct CharacterMatrix display; | 68 | extern struct CharacterMatrix display; |
| 69 | 69 | ||
| 70 | bool iota_gfx_init(bool rotate); | 70 | bool iota_gfx_init(bool rotate); |
| 71 | void iota_gfx_task(void); | 71 | void iota_gfx_task(void); |
diff --git a/keyboards/comet46/ssd1306.c b/keyboards/comet46/ssd1306.c index abbed4a49..4bd2d80bc 100644 --- a/keyboards/comet46/ssd1306.c +++ b/keyboards/comet46/ssd1306.c | |||
| @@ -10,6 +10,8 @@ | |||
| 10 | #include "sendchar.h" | 10 | #include "sendchar.h" |
| 11 | #include "timer.h" | 11 | #include "timer.h" |
| 12 | 12 | ||
| 13 | struct CharacterMatrix display; | ||
| 14 | |||
| 13 | extern const unsigned char font[] PROGMEM; | 15 | extern const unsigned char font[] PROGMEM; |
| 14 | 16 | ||
| 15 | // Set this to 1 to help diagnose early startup problems | 17 | // Set this to 1 to help diagnose early startup problems |
diff --git a/keyboards/comet46/ssd1306.h b/keyboards/comet46/ssd1306.h index 0ca093093..11a3cc67f 100644 --- a/keyboards/comet46/ssd1306.h +++ b/keyboards/comet46/ssd1306.h | |||
| @@ -65,7 +65,7 @@ struct CharacterMatrix { | |||
| 65 | bool dirty; | 65 | bool dirty; |
| 66 | }; | 66 | }; |
| 67 | 67 | ||
| 68 | struct CharacterMatrix display; | 68 | extern struct CharacterMatrix display; |
| 69 | 69 | ||
| 70 | bool iota_gfx_init(bool rotate); | 70 | bool iota_gfx_init(bool rotate); |
| 71 | void iota_gfx_task(void); | 71 | void iota_gfx_task(void); |
diff --git a/keyboards/crkbd/ssd1306.c b/keyboards/crkbd/ssd1306.c index b2676f386..4ec8a9a00 100644 --- a/keyboards/crkbd/ssd1306.c +++ b/keyboards/crkbd/ssd1306.c | |||
| @@ -10,6 +10,8 @@ | |||
| 10 | #include "sendchar.h" | 10 | #include "sendchar.h" |
| 11 | #include "timer.h" | 11 | #include "timer.h" |
| 12 | 12 | ||
| 13 | struct CharacterMatrix display; | ||
| 14 | |||
| 13 | extern const unsigned char font[] PROGMEM; | 15 | extern const unsigned char font[] PROGMEM; |
| 14 | 16 | ||
| 15 | #ifndef OLED_BLANK_CHAR | 17 | #ifndef OLED_BLANK_CHAR |
diff --git a/keyboards/crkbd/ssd1306.h b/keyboards/crkbd/ssd1306.h index 0ca093093..11a3cc67f 100644 --- a/keyboards/crkbd/ssd1306.h +++ b/keyboards/crkbd/ssd1306.h | |||
| @@ -65,7 +65,7 @@ struct CharacterMatrix { | |||
| 65 | bool dirty; | 65 | bool dirty; |
| 66 | }; | 66 | }; |
| 67 | 67 | ||
| 68 | struct CharacterMatrix display; | 68 | extern struct CharacterMatrix display; |
| 69 | 69 | ||
| 70 | bool iota_gfx_init(bool rotate); | 70 | bool iota_gfx_init(bool rotate); |
| 71 | void iota_gfx_task(void); | 71 | void iota_gfx_task(void); |
diff --git a/keyboards/helix/local_drivers/ssd1306.c b/keyboards/helix/local_drivers/ssd1306.c index 00b2fb0ee..c6fc4b785 100644 --- a/keyboards/helix/local_drivers/ssd1306.c +++ b/keyboards/helix/local_drivers/ssd1306.c | |||
| @@ -16,6 +16,8 @@ | |||
| 16 | #include "sendchar.h" | 16 | #include "sendchar.h" |
| 17 | #include "timer.h" | 17 | #include "timer.h" |
| 18 | 18 | ||
| 19 | struct CharacterMatrix display; | ||
| 20 | |||
| 19 | // Set this to 1 to help diagnose early startup problems | 21 | // Set this to 1 to help diagnose early startup problems |
| 20 | // when testing power-on with ble. Turn it off otherwise, | 22 | // when testing power-on with ble. Turn it off otherwise, |
| 21 | // as the latency of printing most of the debug info messes | 23 | // as the latency of printing most of the debug info messes |
diff --git a/keyboards/helix/local_drivers/ssd1306.h b/keyboards/helix/local_drivers/ssd1306.h index f9f91c6fe..bcb30f885 100644 --- a/keyboards/helix/local_drivers/ssd1306.h +++ b/keyboards/helix/local_drivers/ssd1306.h | |||
| @@ -66,7 +66,7 @@ struct CharacterMatrix { | |||
| 66 | bool dirty; | 66 | bool dirty; |
| 67 | }; | 67 | }; |
| 68 | 68 | ||
| 69 | struct CharacterMatrix display; | 69 | extern struct CharacterMatrix display; |
| 70 | 70 | ||
| 71 | bool iota_gfx_init(bool rotate); | 71 | bool iota_gfx_init(bool rotate); |
| 72 | void iota_gfx_task(void); | 72 | void iota_gfx_task(void); |
diff --git a/keyboards/yosino58/ssd1306.c b/keyboards/yosino58/ssd1306.c index ff6ba210d..abd9de2f7 100644 --- a/keyboards/yosino58/ssd1306.c +++ b/keyboards/yosino58/ssd1306.c | |||
| @@ -10,6 +10,8 @@ | |||
| 10 | #include "sendchar.h" | 10 | #include "sendchar.h" |
| 11 | #include "timer.h" | 11 | #include "timer.h" |
| 12 | 12 | ||
| 13 | struct CharacterMatrix display; | ||
| 14 | |||
| 13 | extern const unsigned char font[] PROGMEM; | 15 | extern const unsigned char font[] PROGMEM; |
| 14 | 16 | ||
| 15 | // Set this to 1 to help diagnose early startup problems | 17 | // Set this to 1 to help diagnose early startup problems |
diff --git a/keyboards/yosino58/ssd1306.h b/keyboards/yosino58/ssd1306.h index acaf6217e..35e4c144c 100644 --- a/keyboards/yosino58/ssd1306.h +++ b/keyboards/yosino58/ssd1306.h | |||
| @@ -70,7 +70,7 @@ struct CharacterMatrix { | |||
| 70 | bool dirty; | 70 | bool dirty; |
| 71 | }; | 71 | }; |
| 72 | 72 | ||
| 73 | struct CharacterMatrix display; | 73 | extern struct CharacterMatrix display; |
| 74 | 74 | ||
| 75 | bool iota_gfx_init(bool rotate); | 75 | bool iota_gfx_init(bool rotate); |
| 76 | void iota_gfx_task(void); | 76 | void iota_gfx_task(void); |
