Rearranged some expressions to avoid triggering a cc65 bug.

This commit is contained in:
Oliver Schmidt 2013-10-05 21:26:28 +02:00
parent d79ac1558a
commit 7134da0915
4 changed files with 10 additions and 10 deletions

View file

@ -141,7 +141,7 @@ recv_ruc(struct runicast_conn *c, const rimeaddr_t *from, uint8_t seqno)
printf("runicast message received from %d.%d, latency %lu ms, seqno %d, data '%.*s'\n",
from->u8[0], from->u8[1],
(1000L * latency) / RTIMER_ARCH_SECOND,
(latency * 1000L) / RTIMER_ARCH_SECOND,
seqno,
packetbuf_datalen() - COLLECT_MSG_HDRSIZE,
msg->data);