Browse Source

Catch edge cases

pull/22181/head
Drashna Jael're 2 weeks ago
parent
commit
5f6e4d5570
No known key found for this signature in database GPG Key ID: DBA1FD3A860D1B11
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      keyboards/zsa/voyager/voyager.c

+ 5
- 3
keyboards/zsa/voyager/voyager.c View File

@ -15,9 +15,10 @@ deferred_token dynamic_macro_token = INVALID_DEFERRED_TOKEN;
static uint32_t dynamic_macro_led(uint32_t trigger_time, void *cb_arg) {
static bool led_state = true;
;
led_state = !led_state;
STATUS_LED_3(led_state);
if (!is_launching) {
led_state = !led_state;
STATUS_LED_3(led_state);
}
return 100;
}
@ -272,6 +273,7 @@ void keyboard_post_init_kb(void) {
eeconfig_update_kb(keyboard_config.raw);
}
#if defined(DEFERRED_EXEC_ENABLE)
is_launching = true;
defer_exec(500, startup_exec, NULL);
#endif
keyboard_post_init_user();


Loading…
Cancel
Save