Update keyboards/gkeyboard/greatpad/greatpad.c

Co-authored-by: jack <0x6a73@protonmail.com>
This commit is contained in:
gkeyboard 2023-12-18 21:46:28 +07:00 committed by GitHub
parent c733059c6b
commit c94f03d4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -558,7 +558,10 @@ static void render_info(void) {
} }
#define SHOW_LOGO 5000 #define SHOW_LOGO 5000
bool oled_task_user(void) { bool oled_task_kb(void) {
if (!oled_task_user()) {
return false;
}
static bool finished_timer = false; static bool finished_timer = false;
if (!finished_timer && (timer_elapsed(startup_timer) < SHOW_LOGO)) { if (!finished_timer && (timer_elapsed(startup_timer) < SHOW_LOGO)) {
render_logo(); render_logo();