mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-09 00:54:17 -04:00
[Keyboard] Corne - Remove legacy revision support (#12226)
This commit is contained in:
parent
dd3994c20f
commit
010adc92bf
3 changed files with 4 additions and 2 deletions
|
@ -70,8 +70,10 @@ 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;
|
||||
|
@ -157,7 +159,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 {
|
Loading…
Add table
Add a link
Reference in a new issue