Typo
This commit is contained in:
parent
99a6e3bf20
commit
6aff14e05a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue