From 18228623880eebb076cca9c6f65b54e0a91fe7d4 Mon Sep 17 00:00:00 2001 From: Victor <87155454+t4corun@users.noreply.github.com> Date: Fri, 24 May 2024 22:41:29 -0500 Subject: [PATCH] Starting on integrating KLOR OLED - Added default rotation - need to review the screen to know what the hex code means --- users/t4corun/features/oled.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/users/t4corun/features/oled.c b/users/t4corun/features/oled.c index d545be25..dc650840 100644 --- a/users/t4corun/features/oled.c +++ b/users/t4corun/features/oled.c @@ -98,9 +98,7 @@ void render_oled_main(void) { bool oled_task_user(void) { if (is_keyboard_master()) { - render_oled_main(); // Renders the current keyboard state (layer, lock, caps, scroll, etc) - } else { #if defined(KEYBOARD_barbellboards_rollow) @@ -121,14 +119,14 @@ bool oled_task_user(void) { oled_rotation_t oled_init_user(oled_rotation_t rotation) { +#if defined(KEYBOARD_klor_2040) + return OLED_ROTATION_0; +#else if (is_keyboard_master()) { - return OLED_ROTATION_270; - } else { - - return OLED_ROTATION_0; - + return OLED_ROTATION_0; } +#endif } \ No newline at end of file