summaryrefslogtreecommitdiffstats
path: root/keyboards/suihankey
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/suihankey')
-rw-r--r--keyboards/suihankey/alpha/keymaps/default/keymap.c2
-rw-r--r--keyboards/suihankey/rev1/keymaps/default/keymap.c2
-rw-r--r--keyboards/suihankey/rules.mk3
-rw-r--r--keyboards/suihankey/split/rules.mk2
4 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/suihankey/alpha/keymaps/default/keymap.c b/keyboards/suihankey/alpha/keymaps/default/keymap.c
index e7c7da4b8b..852334d87e 100644
--- a/keyboards/suihankey/alpha/keymaps/default/keymap.c
+++ b/keyboards/suihankey/alpha/keymaps/default/keymap.c
@@ -71,7 +71,7 @@ void led_set_user(uint8_t usb_led) {
}
-#ifdef OLED_DRIVER_ENABLE
+#ifdef OLED_ENABLE
void oled_task_user(void) {
oled_write_P(PSTR("Layer: "), false);
switch (biton32(layer_state)) {
diff --git a/keyboards/suihankey/rev1/keymaps/default/keymap.c b/keyboards/suihankey/rev1/keymaps/default/keymap.c
index e7c7da4b8b..852334d87e 100644
--- a/keyboards/suihankey/rev1/keymaps/default/keymap.c
+++ b/keyboards/suihankey/rev1/keymaps/default/keymap.c
@@ -71,7 +71,7 @@ void led_set_user(uint8_t usb_led) {
}
-#ifdef OLED_DRIVER_ENABLE
+#ifdef OLED_ENABLE
void oled_task_user(void) {
oled_write_P(PSTR("Layer: "), false);
switch (biton32(layer_state)) {
diff --git a/keyboards/suihankey/rules.mk b/keyboards/suihankey/rules.mk
index 63a0a2b1ec..dc4b5b83ae 100644
--- a/keyboards/suihankey/rules.mk
+++ b/keyboards/suihankey/rules.mk
@@ -28,7 +28,8 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
-OLED_DRIVER_ENABLE = yes
+OLED_ENABLE = yes
+OLED_DRIVER = SSD1306
SPLIT_KEYBOARD = no
DEFAULT_FOLDER = suihankey/rev1
diff --git a/keyboards/suihankey/split/rules.mk b/keyboards/suihankey/split/rules.mk
index b5d2dc8e81..f0bdf744ee 100644
--- a/keyboards/suihankey/split/rules.mk
+++ b/keyboards/suihankey/split/rules.mk
@@ -1,4 +1,4 @@
-OLED_DRIVER_ENABLE = no
+OLED_ENABLE = no
SPLIT_KEYBOARD = yes
DEFAULT_FOLDER = suihankey/split/rev1