Clean up of a few missing printf() that were converted into PRINTF()s

This commit is contained in:
Adam Dunkels 2012-11-27 23:01:10 +01:00
parent 99f541e8fd
commit edf141046b
2 changed files with 4 additions and 4 deletions

View file

@ -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 ");
PRINT6ADDR(&parent->addr);
PRINTF("\n");
printf("rpl_move_parent\n");
PRINTF("rpl_move_parent\n");
uip_ds6_defrt_rm(dag_src->instance->def_route);
dag_src->instance->def_route = NULL;
}

View file

@ -172,7 +172,7 @@ uip_ds6_route_add(uip_ipaddr_t *ipaddr, uint8_t length,
}
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);
@ -209,7 +209,7 @@ uip_ds6_route_rm(uip_ds6_route_t *route)
list_remove(routelist, 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,
&route->ipaddr, &route->nexthop);
@ -358,7 +358,7 @@ uip_ds6_defrt_periodic(void)
while(d != NULL) {
if(!d->isinfinite &&
stimer_expired(&d->lifetime)) {
printf("defrt lifetime expired\n");
PRINTF("uip_ds6_defrt_periodic: defrt lifetime expired\n");
uip_ds6_defrt_rm(d);
d = list_head(defaultrouterlist);
} else {