summaryrefslogtreecommitdiff
path: root/keyboards/helix/ssd1306.c
diff options
context:
space:
mode:
authorMakotoKurauchi2018-05-01 00:15:49 +0900
committerDrashna Jaelre2018-04-30 08:15:49 -0700
commit1ff7473ce4fa53f1ea28edfa16ae68ea5cc74d47 (patch)
tree93cff3adbfb8606ff71d5bb489407cf9b1f58af6 /keyboards/helix/ssd1306.c
parentde97c560f5b731f45f70b92d82509cc3ba97b9e9 (diff)
Add LOCAL_GLCDFONT option (#2854)
* add some comment about Helix customize and auto-setup RGBLIGHT_LIMIT_VAL * add define USB_MAX_POWER_CONSUMPTION * Helix keyboard OLED, RGBLIGHT enable/disable control integrate into rules.mk rules.mk: add 4 Variables for compile control. # Helix keyboard customize # you can edit follows 4 Variables # jp: 以下の4つの変数を必要に応じて編集します。 OLED_ENABLE = no # OLED_ENABLE LED_BACK_ENABLE = no # LED backlight (Enable WS2812 RGB underlight.) LED_UNDERGLOW_ENABLE = no # LED underglow (Enable WS2812 RGB underlight.) LED_ANIMATIONS = yes # LED animations config.h: auto set RGBLED_NUM by HELIX_ROWS and rules.mk's define * HELIX_ROWS define move from config.h to rules.mk * add readme.md * rename readme.md to readme_jp.md * add readme.md and modify readme_jp.md * change helix/ssd1306.c for select glcdfont.c position * add variable LOCAL_GLCDFONT into each keymaps rules.mk
Diffstat (limited to 'keyboards/helix/ssd1306.c')
-rw-r--r--keyboards/helix/ssd1306.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/helix/ssd1306.c b/keyboards/helix/ssd1306.c
index 80efc3d16..b13060ef7 100644
--- a/keyboards/helix/ssd1306.c
+++ b/keyboards/helix/ssd1306.c
@@ -4,7 +4,11 @@
#include "i2c.h"
#include <string.h>
#include "print.h"
+#ifndef LOCAL_GLCDFONT
#include "common/glcdfont.c"
+#else
+#include <helixfont.h>
+#endif
#ifdef ADAFRUIT_BLE_ENABLE
#include "adafruit_ble.h"
#endif