summaryrefslogtreecommitdiff
path: root/keyboards/crkbd/keymaps/mcrown/oled.c
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/mcrown/oled.c
parent8e22da67c1ddafa45b2e4d0ec4449dc79b509b89 (diff)
[Keyboard] Corne - Remove legacy revision support (#12226)
Diffstat (limited to 'keyboards/crkbd/keymaps/mcrown/oled.c')
-rw-r--r--keyboards/crkbd/keymaps/mcrown/oled.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/crkbd/keymaps/mcrown/oled.c b/keyboards/crkbd/keymaps/mcrown/oled.c
index 0e245e9004..b728a5806e 100644
--- a/keyboards/crkbd/keymaps/mcrown/oled.c
+++ b/keyboards/crkbd/keymaps/mcrown/oled.c
@@ -113,7 +113,7 @@ inline static char get_ascii(int16_t keycode){
oled_rotation_t oled_init_user(oled_rotation_t rotation){
oled_rotation_t oled_rot=OLED_ROTATION_180;
- if(true==is_master){
+ if(true==is_keyboard_master()){
#ifdef OLED_VERTICAL
oled_rot=OLED_ROTATION_270;
#else
@@ -313,7 +313,7 @@ void oled_task_user(void){
oled_off();
}else{
oled_on();
- if(true==is_master){
+ if(true==is_keyboard_master()){
render_status();
}else{
render_logo();