Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix snailmap compilation error #14250

Merged
merged 2 commits into from
Sep 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions keyboards/nullbitsco/nibble/keymaps/snailmap/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion keyboards/nullbitsco/nibble/keymaps/snailmap/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
OLED_DRIVER_ENABLE = yes
OLED_ENABLE = yes
WPM_ENABLE = yes
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no
Expand Down