diff options
author | Drashna Jaelre <drashna@live.com> | 2021-05-24 23:23:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-24 23:23:20 -0700 |
commit | 57158cc3bcd169bc76785099fe2ded359d94eaa2 (patch) | |
tree | 8b29410902050e40f99f225e5282c0ee31bfd4e5 /keyboards/crkbd/keymaps/xyverz | |
parent | 8e22da67c1ddafa45b2e4d0ec4449dc79b509b89 (diff) |
[Keyboard] Corne - Remove legacy revision support (#12226)
Diffstat (limited to 'keyboards/crkbd/keymaps/xyverz')
-rw-r--r-- | keyboards/crkbd/keymaps/xyverz/keymap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/crkbd/keymaps/xyverz/keymap.c b/keyboards/crkbd/keymaps/xyverz/keymap.c index c1777f2023..ff9d258f01 100644 --- a/keyboards/crkbd/keymaps/xyverz/keymap.c +++ b/keyboards/crkbd/keymaps/xyverz/keymap.c @@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include QMK_KEYBOARD_H +#include <stdio.h> enum layer_names { _DVORAK, @@ -101,7 +102,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { #ifdef OLED_DRIVER_ENABLE 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; @@ -187,7 +188,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 { |