Merge pull request #1156 from amitgeron/stunicast-timer-fix
Stunicast timer fix
This commit is contained in:
commit
1e1241f075
1 changed files with 4 additions and 4 deletions
|
@ -115,7 +115,7 @@ send(void *ptr)
|
||||||
if(c->buf) {
|
if(c->buf) {
|
||||||
queuebuf_to_packetbuf(c->buf);
|
queuebuf_to_packetbuf(c->buf);
|
||||||
unicast_send(&c->c, &c->receiver);
|
unicast_send(&c->c, &c->receiver);
|
||||||
stunicast_set_timer(c, CLOCK_SECOND);
|
ctimer_restart(&c->t);
|
||||||
}
|
}
|
||||||
/* if(c->u->sent != NULL) {
|
/* if(c->u->sent != NULL) {
|
||||||
c->u->sent(c);
|
c->u->sent(c);
|
||||||
|
|
Loading…
Add table
Reference in a new issue