This commit is contained in:
Hrvoje Cavrak 2024-01-16 18:53:44 +01:00
parent 99a6e3bf20
commit 6aff14e05a
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ void blink_led(device_state_t* state) {
} }
void led_blinking_task(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; const int blink_interval_us = 80000;
static uint8_t leds; static uint8_t leds;
@ -77,4 +77,4 @@ void led_blinking_task(device_state_t* state) {
/* Restore LEDs in the last pass */ /* Restore LEDs in the last pass */
if (state->blinks_left == 0) if (state->blinks_left == 0)
restore_leds(state); restore_leds(state);
} }