Skip to content
Snippets Groups Projects
Commit 2df72a3b authored by zenox's avatar zenox
Browse files

rocket_timer_callback

parent 039066d8
Branches
No related tags found
1 merge request!325flash_rocket
...@@ -147,7 +147,7 @@ int epic_leds_get_rocket(int led) ...@@ -147,7 +147,7 @@ int epic_leds_get_rocket(int led)
static TimerHandle_t blink_timer[] = { NULL, NULL, NULL }; static TimerHandle_t blink_timer[] = { NULL, NULL, NULL };
void bTimerCallback(TimerHandle_t blink_timer) static void rocket_timer_callback(TimerHandle_t blink_timer)
{ {
uint32_t id = (uint32_t)pvTimerGetTimerID(blink_timer); uint32_t id = (uint32_t)pvTimerGetTimerID(blink_timer);
epic_leds_set_rocket(id, 0); epic_leds_set_rocket(id, 0);
...@@ -163,7 +163,7 @@ void epic_leds_blink_rocket(int led, uint8_t value, int millis) ...@@ -163,7 +163,7 @@ void epic_leds_blink_rocket(int led, uint8_t value, int millis)
ticks, ticks,
pdFALSE, pdFALSE,
(void *)id, (void *)id,
bTimerCallback rocket_timer_callback
); );
epic_leds_set_rocket(led, value); epic_leds_set_rocket(led, value);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment