Browse Source

Add thread sleep

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

+ 2
- 1
keyboards/zsa/voyager/voyager.c View File

@ -53,7 +53,7 @@ void voyager_led_task(void) {
STATUS_LED_3(true);
wait_ms(100);
STATUS_LED_3(false);
wait_ms(155);
wait_ms(55);
}
#endif
}
@ -64,6 +64,7 @@ static THD_FUNCTION(LEDThread, arg) {
chRegSetThreadName("LEDThread");
while (true) {
voyager_led_task();
chThdSleepMilliseconds(100);
}
}


Loading…
Cancel
Save