aboutsummaryrefslogtreecommitdiff
path: root/keyboards/lck75/lck75.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lck75/lck75.c')
-rw-r--r--keyboards/lck75/lck75.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/keyboards/lck75/lck75.c b/keyboards/lck75/lck75.c
index 52ccdcfd0..55650681a 100644
--- a/keyboards/lck75/lck75.c
+++ b/keyboards/lck75/lck75.c
@@ -33,11 +33,14 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
33#define ANIM_FRAME_DURATION 200 33#define ANIM_FRAME_DURATION 200
34#define ANIM_SIZE 512 34#define ANIM_SIZE 512
35#ifdef OLED_ENABLE 35#ifdef OLED_ENABLE
36__attribute__((weak)) oled_rotation_t oled_init_user(oled_rotation_t rotation) { 36oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
37 return OLED_ROTATION_180; 37 return OLED_ROTATION_180;
38} 38}
39 39
40__attribute__((weak)) void oled_task_user(void) { 40bool oled_task_kb(void) {
41 if (!oled_task_user()) {
42 return false;
43 }
41static uint32_t anim_timer = 0; 44static uint32_t anim_timer = 0;
42static uint32_t anim_sleep = 0; 45static uint32_t anim_sleep = 0;
43static uint8_t current_idle_frame = 0; 46static uint8_t current_idle_frame = 0;
@@ -140,6 +143,6 @@ static uint8_t current_tap_frame = 0;
140 } 143 }
141 } 144 }
142 } 145 }
143 146 return false;
144} 147}
145#endif 148#endif