[Keyboard] Corne - Remove legacy revision support (#12226)

This commit is contained in:
Drashna Jaelre 2021-05-24 23:23:20 -07:00 committed by GitHub
parent 8e22da67c1
commit 57158cc3bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
71 changed files with 215 additions and 2269 deletions

View file

@ -61,8 +61,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
#ifdef OLED_DRIVER_ENABLE
#include <stdio.h>
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
if (!is_master) {
if (!is_keyboard_master()) {
return OLED_ROTATION_180; // flips the display 180 degrees if offhand
}
return rotation;
@ -148,7 +149,7 @@ void oled_render_logo(void) {
}
void oled_task_user(void) {
if (is_master) {
if (is_keyboard_master()) {
oled_render_layer_state();
oled_render_keylog();
} else {