Added debug output
This commit is contained in:
parent
9bd3c0c07c
commit
7fd1eca954
1 changed files with 5 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: nbh.c,v 1.3 2007/11/15 13:33:09 nifi Exp $
|
* $Id: nbh.c,v 1.4 2007/11/17 10:34:17 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -96,6 +96,9 @@ send_adv(struct nbh_conn *c, clock_time_t interval)
|
||||||
if(c->u->sent) {
|
if(c->u->sent) {
|
||||||
c->u->sent(c);
|
c->u->sent(c);
|
||||||
}
|
}
|
||||||
|
PRINTF("%d.%d: sending neighbor advertisement with val %d\n",
|
||||||
|
rimeaddr_node_addr.u8[0], rimeaddr_node_addr.u8[1],
|
||||||
|
c->val);
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue