Reverted commit below as the cc65 bug in question is fixed.

Rearranged some expressions to avoid triggering a cc65 bug. (reverse-merged from commit 7134da0915)
This commit is contained in:
Oliver Schmidt 2013-10-08 22:42:41 +02:00
parent c6474cc8bc
commit 2316c6b461
4 changed files with 10 additions and 10 deletions

View file

@ -129,7 +129,7 @@ recv_broadcast(struct broadcast_conn *c, const rimeaddr_t *from)
printf("broadcast message received from %d.%d, latency %lu ms, data '%.*s'\n",
from->u8[0], from->u8[1],
(latency * 1000L) / RTIMER_ARCH_SECOND,
(1000L * latency) / RTIMER_ARCH_SECOND,
packetbuf_datalen() - COLLECT_MSG_HDRSIZE,
msg->data);
}
@ -201,7 +201,7 @@ recv_uc(struct unicast_conn *c, const rimeaddr_t *from)
printf("unicast message received from %d.%d, latency %lu ms, data '%.*s'\n",
from->u8[0], from->u8[1],
(latency * 1000L) / RTIMER_ARCH_SECOND,
(1000L * latency) / RTIMER_ARCH_SECOND,
packetbuf_datalen() - COLLECT_MSG_HDRSIZE,
msg->data);
}