summaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco
diff options
context:
space:
mode:
authorJay Greco <jayv.greco@gmail.com>2021-09-01 02:48:14 -0700
committerGitHub <noreply@github.com>2021-09-01 10:48:14 +0100
commitc573926e05ccdf71fdafa433db7cc46712d96d11 (patch)
tree2b0dd37528ce98bdf417ef479778c4c468b2b0ae /keyboards/nullbitsco
parent8d97c54770ef5205455dc7d8b004fcaf3d148168 (diff)
Fix snailmap compilation error (#14250)
* Fix snailmap compilation error * Update keymap.c with correct OLED_ENABLE defines
Diffstat (limited to 'keyboards/nullbitsco')
-rw-r--r--keyboards/nullbitsco/nibble/keymaps/snailmap/keymap.c4
-rw-r--r--keyboards/nullbitsco/nibble/keymaps/snailmap/rules.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/nullbitsco/nibble/keymaps/snailmap/keymap.c b/keyboards/nullbitsco/nibble/keymaps/snailmap/keymap.c
index 614394bb5d..d628a976fb 100644
--- a/keyboards/nullbitsco/nibble/keymaps/snailmap/keymap.c
+++ b/keyboards/nullbitsco/nibble/keymaps/snailmap/keymap.c
@@ -59,7 +59,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-#ifdef OLED_DRIVER_ENABLE
+#ifdef OLED_ENABLE
/*=========================================== OLED CONFIGURATION ===========================================*/
bool oled_horizontal = true; // OLED rotation (true = horizontal, false = vertical)
bool ansi_layout = true; // ANSI or ISO layout (true = ANSI, false = ISO)
@@ -464,7 +464,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
// Forwards keystrokes from an external input device over UART/TRRS
process_record_remote_kb(keycode, record);
- #ifdef OLED_DRIVER_ENABLE
+ #ifdef OLED_ENABLE
// Toggle pixels surrounding key
render_keymap(record->event.key.row, record->event.key.col, record->event.pressed);
#endif
diff --git a/keyboards/nullbitsco/nibble/keymaps/snailmap/rules.mk b/keyboards/nullbitsco/nibble/keymaps/snailmap/rules.mk
index ee2a594974..4e0f1b619a 100644
--- a/keyboards/nullbitsco/nibble/keymaps/snailmap/rules.mk
+++ b/keyboards/nullbitsco/nibble/keymaps/snailmap/rules.mk
@@ -1,4 +1,4 @@
-OLED_DRIVER_ENABLE = yes
+OLED_ENABLE = yes
WPM_ENABLE = yes
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no