Browse Source

Move wait in thread

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

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

@ -56,6 +56,9 @@ void voyager_led_task(void) {
wait_ms(55);
}
#endif
else {
wait_ms(100);
}
}
static THD_WORKING_AREA(waLEDThread, 128);
@ -64,7 +67,6 @@ static THD_FUNCTION(LEDThread, arg) {
chRegSetThreadName("LEDThread");
while (true) {
voyager_led_task();
chThdSleepMilliseconds(100);
}
}


Loading…
Cancel
Save