summaryrefslogtreecommitdiff
path: root/keyboards/chidori/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/chidori/keymaps')
-rw-r--r--keyboards/chidori/keymaps/oled_sample/keymap.c2
-rw-r--r--keyboards/chidori/keymaps/oled_sample/rules.mk3
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/chidori/keymaps/oled_sample/keymap.c b/keyboards/chidori/keymaps/oled_sample/keymap.c
index 6c9b7869ba..a3bb7c2807 100644
--- a/keyboards/chidori/keymaps/oled_sample/keymap.c
+++ b/keyboards/chidori/keymaps/oled_sample/keymap.c
@@ -181,7 +181,7 @@ bool led_update_user(led_t led_state) {
return false;
}
-#ifdef OLED_DRIVER_ENABLE
+#ifdef OLED_ENABLE
void oled_write_layer_state(void) {
oled_write_P(PSTR("Layer: "), false);
diff --git a/keyboards/chidori/keymaps/oled_sample/rules.mk b/keyboards/chidori/keymaps/oled_sample/rules.mk
index cc60236cac..7a7b1acc03 100644
--- a/keyboards/chidori/keymaps/oled_sample/rules.mk
+++ b/keyboards/chidori/keymaps/oled_sample/rules.mk
@@ -1,2 +1,3 @@
# Enable SSD1306 OLED
-OLED_DRIVER_ENABLE = yes
+OLED_ENABLE = yes
+OLED_DRIVER = SSD1306