1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

dao_counter wasn't initialized

This commit is contained in:
Oleg Hahm 2013-11-21 00:19:56 +01:00
parent 6ad5b4fb80
commit 49ff2ae393

View File

@ -78,6 +78,7 @@ void init_trickle(void)
{
/* Create threads */
ack_received = true;
dao_counter = 0;
timer_over_pid = thread_create(timer_over_buf, TRICKLE_TIMER_STACKSIZE,
PRIORITY_MAIN - 1, CREATE_STACKTEST,
trickle_timer_over, "trickle_timer_over");