Commit c9de9e71 authored by zenox's avatar zenox
Browse files

bug: blink also on first invocation

parent de289cfd
......@@ -166,10 +166,10 @@ void epic_leds_blink_rocket(int led, uint8_t value, int millis)
(void*) id,
bTimerCallback
);
} else {
epic_leds_set_rocket(led, value);
xTimerChangePeriod(blink_timer[id], ticks, 0);
}
epic_leds_set_rocket(led, value);
xTimerChangePeriod(blink_timer[id], ticks, 0);
}
void epic_set_flashlight(bool power)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment