瀏覽代碼

Fix the modifier of font variable in ssd1306.c (#5880)

mogira 6 年之前
父節點
當前提交
9c7818582d
共有 5 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      keyboards/claw44/ssd1306.c
  2. 1 1
      keyboards/comet46/ssd1306.c
  3. 1 1
      keyboards/crkbd/ssd1306.c
  4. 1 1
      keyboards/lily58/ssd1306.c
  5. 1 1
      keyboards/yosino58/ssd1306.c

+ 1 - 1
keyboards/claw44/ssd1306.c

@@ -13,7 +13,7 @@
 #include "sendchar.h"
 #include "timer.h"
 
-static const unsigned char font[] PROGMEM;
+extern const unsigned char font[] PROGMEM;
 
 // Set this to 1 to help diagnose early startup problems
 // when testing power-on with ble.  Turn it off otherwise,

+ 1 - 1
keyboards/comet46/ssd1306.c

@@ -13,7 +13,7 @@
 #include "sendchar.h"
 #include "timer.h"
 
-static const unsigned char font[] PROGMEM;
+extern const unsigned char font[] PROGMEM;
 
 // Set this to 1 to help diagnose early startup problems
 // when testing power-on with ble.  Turn it off otherwise,

+ 1 - 1
keyboards/crkbd/ssd1306.c

@@ -13,7 +13,7 @@
 #include "sendchar.h"
 #include "timer.h"
 
-static const unsigned char font[] PROGMEM;
+extern const unsigned char font[] PROGMEM;
 
 // Set this to 1 to help diagnose early startup problems
 // when testing power-on with ble.  Turn it off otherwise,

+ 1 - 1
keyboards/lily58/ssd1306.c

@@ -13,7 +13,7 @@
 #include "sendchar.h"
 #include "timer.h"
 
-static const unsigned char font[] PROGMEM;
+extern const unsigned char font[] PROGMEM;
 
 // Set this to 1 to help diagnose early startup problems
 // when testing power-on with ble.  Turn it off otherwise,

+ 1 - 1
keyboards/yosino58/ssd1306.c

@@ -13,7 +13,7 @@
 #include "sendchar.h"
 #include "timer.h"
 
-static const unsigned char font[] PROGMEM;
+extern const unsigned char font[] PROGMEM;
 
 // Set this to 1 to help diagnose early startup problems
 // when testing power-on with ble.  Turn it off otherwise,