summaryrefslogtreecommitdiff
path: root/keyboards/crkbd/keymaps/rjhilgefort
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-05-24 23:23:20 -0700
committerGitHub <noreply@github.com>2021-05-24 23:23:20 -0700
commit57158cc3bcd169bc76785099fe2ded359d94eaa2 (patch)
tree8b29410902050e40f99f225e5282c0ee31bfd4e5 /keyboards/crkbd/keymaps/rjhilgefort
parent8e22da67c1ddafa45b2e4d0ec4449dc79b509b89 (diff)
downloadqmk_firmware-57158cc3bcd169bc76785099fe2ded359d94eaa2.tar.gz
qmk_firmware-57158cc3bcd169bc76785099fe2ded359d94eaa2.zip
[Keyboard] Corne - Remove legacy revision support (#12226)
Diffstat (limited to 'keyboards/crkbd/keymaps/rjhilgefort')
-rw-r--r--keyboards/crkbd/keymaps/rjhilgefort/keymap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/crkbd/keymaps/rjhilgefort/keymap.c b/keyboards/crkbd/keymaps/rjhilgefort/keymap.c
index a9dbe7657a..e1e0518745 100644
--- a/keyboards/crkbd/keymaps/rjhilgefort/keymap.c
+++ b/keyboards/crkbd/keymaps/rjhilgefort/keymap.c
@@ -104,8 +104,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;
@@ -203,7 +205,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 {