lc15: led_sleep_cb: pass correct ptr to llist_move_tail

Fix compilation warning. At runtime it's not a big issue because the
"list" field is the first field of the led_list (struct
lc15bts_led_timer_list) variable. Hence, the address passed is the same.

Change-Id: Ib8bf07990800d74bfb3ad7a55eccfc65e40cd480
This commit is contained in:
Pau Espin 2018-06-10 22:54:51 +02:00
parent b9f3e14ba6
commit 080302f870
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ static void led_sleep_cb(void *_data) {
/* Delete current timer */
osmo_timer_del(&led_list->led_timer.timer);
/* Rotate the timer list */
llist_move_tail(led_list, &mgr->lc15bts_leds.list);
llist_move_tail(&led_list->list, &mgr->lc15bts_leds.list);
break;
}
}