mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-05 09:29:39 +00:00
Clean up of a few missing printf() that were converted into PRINTF()s
This commit is contained in:
parent
99f541e8fd
commit
edf141046b
@ -721,7 +721,7 @@ rpl_move_parent(rpl_dag_t *dag_src, rpl_dag_t *dag_dst, rpl_parent_t *parent)
|
|||||||
PRINTF("RPL: Removing default route ");
|
PRINTF("RPL: Removing default route ");
|
||||||
PRINT6ADDR(&parent->addr);
|
PRINT6ADDR(&parent->addr);
|
||||||
PRINTF("\n");
|
PRINTF("\n");
|
||||||
printf("rpl_move_parent\n");
|
PRINTF("rpl_move_parent\n");
|
||||||
uip_ds6_defrt_rm(dag_src->instance->def_route);
|
uip_ds6_defrt_rm(dag_src->instance->def_route);
|
||||||
dag_src->instance->def_route = NULL;
|
dag_src->instance->def_route = NULL;
|
||||||
}
|
}
|
||||||
|
@ -172,7 +172,7 @@ uip_ds6_route_add(uip_ipaddr_t *ipaddr, uint8_t length,
|
|||||||
}
|
}
|
||||||
list_add(routelist, r);
|
list_add(routelist, r);
|
||||||
|
|
||||||
// printf("uip_ds6_route_add num %d\n", list_length(routelist));
|
PRINTF("uip_ds6_route_add num %d\n", list_length(routelist));
|
||||||
}
|
}
|
||||||
|
|
||||||
uip_ipaddr_copy(&(r->ipaddr), ipaddr);
|
uip_ipaddr_copy(&(r->ipaddr), ipaddr);
|
||||||
@ -209,7 +209,7 @@ uip_ds6_route_rm(uip_ds6_route_t *route)
|
|||||||
list_remove(routelist, route);
|
list_remove(routelist, route);
|
||||||
memb_free(&routememb, route);
|
memb_free(&routememb, route);
|
||||||
|
|
||||||
// printf("uip_ds6_route_rm num %d\n", list_length(routelist));
|
PRINTF("uip_ds6_route_rm num %d\n", list_length(routelist));
|
||||||
|
|
||||||
call_route_callback(UIP_DS6_NOTIFICATION_ROUTE_RM,
|
call_route_callback(UIP_DS6_NOTIFICATION_ROUTE_RM,
|
||||||
&route->ipaddr, &route->nexthop);
|
&route->ipaddr, &route->nexthop);
|
||||||
@ -358,7 +358,7 @@ uip_ds6_defrt_periodic(void)
|
|||||||
while(d != NULL) {
|
while(d != NULL) {
|
||||||
if(!d->isinfinite &&
|
if(!d->isinfinite &&
|
||||||
stimer_expired(&d->lifetime)) {
|
stimer_expired(&d->lifetime)) {
|
||||||
printf("defrt lifetime expired\n");
|
PRINTF("uip_ds6_defrt_periodic: defrt lifetime expired\n");
|
||||||
uip_ds6_defrt_rm(d);
|
uip_ds6_defrt_rm(d);
|
||||||
d = list_head(defaultrouterlist);
|
d = list_head(defaultrouterlist);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user