This commit is contained in:
Hrvoje Cavrak 2024-01-16 18:53:44 +01:00
parent 99a6e3bf20
commit 6aff14e05a

View File

@ -48,7 +48,7 @@ void blink_led(device_state_t* state) {
}
void led_blinking_task(device_state_t* state) {
/* 50 ms off, 50 ms on */
/* 80 ms off, 80 ms on */
const int blink_interval_us = 80000;
static uint8_t leds;
@ -77,4 +77,4 @@ void led_blinking_task(device_state_t* state) {
/* Restore LEDs in the last pass */
if (state->blinks_left == 0)
restore_leds(state);
}
}