Fix snailmap compilation error (#14250)

* Fix snailmap compilation error

* Update keymap.c with correct OLED_ENABLE defines
This commit is contained in:
Jay Greco 2021-09-01 02:48:14 -07:00 committed by GitHub
parent 8d97c54770
commit c573926e05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
) )
}; };
#ifdef OLED_DRIVER_ENABLE #ifdef OLED_ENABLE
/*=========================================== OLED CONFIGURATION ===========================================*/ /*=========================================== OLED CONFIGURATION ===========================================*/
bool oled_horizontal = true; // OLED rotation (true = horizontal, false = vertical) bool oled_horizontal = true; // OLED rotation (true = horizontal, false = vertical)
bool ansi_layout = true; // ANSI or ISO layout (true = ANSI, false = ISO) 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 // Forwards keystrokes from an external input device over UART/TRRS
process_record_remote_kb(keycode, record); process_record_remote_kb(keycode, record);
#ifdef OLED_DRIVER_ENABLE #ifdef OLED_ENABLE
// Toggle pixels surrounding key // Toggle pixels surrounding key
render_keymap(record->event.key.row, record->event.key.col, record->event.pressed); render_keymap(record->event.key.row, record->event.key.col, record->event.pressed);
#endif #endif

View File

@ -1,4 +1,4 @@
OLED_DRIVER_ENABLE = yes OLED_ENABLE = yes
WPM_ENABLE = yes WPM_ENABLE = yes
SPACE_CADET_ENABLE = no SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no GRAVE_ESC_ENABLE = no