diff options
Diffstat (limited to 'keyboards/lck75/lck75.c')
| -rw-r--r-- | keyboards/lck75/lck75.c | 9 |
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) { | 36 | oled_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) { | 40 | bool oled_task_kb(void) { |
| 41 | if (!oled_task_user()) { | ||
| 42 | return false; | ||
| 43 | } | ||
| 41 | static uint32_t anim_timer = 0; | 44 | static uint32_t anim_timer = 0; |
| 42 | static uint32_t anim_sleep = 0; | 45 | static uint32_t anim_sleep = 0; |
| 43 | static uint8_t current_idle_frame = 0; | 46 | static 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 |
