summaryrefslogtreecommitdiffstats
path: root/keyboards/zen/rev2/rev2.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/zen/rev2/rev2.c')
-rw-r--r--keyboards/zen/rev2/rev2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/zen/rev2/rev2.c b/keyboards/zen/rev2/rev2.c
index 4104460db..7bd8efbdd 100644
--- a/keyboards/zen/rev2/rev2.c
+++ b/keyboards/zen/rev2/rev2.c
@@ -47,11 +47,11 @@ void render_status(void) {
oled_write_P(led_usb_state & (1<<USB_LED_SCROLL_LOCK) ? PSTR("SCRLK") : PSTR(" "), false); // Line 16
}
-#ifdef OLED_ROTATE90
-bool oled_init_user(bool flip180) {
- return true;
+oled_rotation_t oled_init_user(oled_rotation_t rotation) {
+ if (is_keyboard_master())
+ return OLED_ROTATION_90; // flips the display 90 degrees if mainhand
+ return rotation;
}
-#endif
__attribute__((weak))
void oled_task_user(void) {