Fix code style: zoul examples

This commit is contained in:
George Oikonomou 2015-11-24 12:02:35 +00:00 committed by Antonio Lignan
parent be1bd9a619
commit a30154c43e
3 changed files with 5 additions and 5 deletions

View file

@ -64,7 +64,7 @@ broadcast_recv(struct broadcast_conn *c, const linkaddr_t *from)
{
printf("*** Received %u bytes from %u:%u: '0x%04u' ", packetbuf_datalen(),
from->u8[0], from->u8[1], *(uint16_t *)packetbuf_dataptr());
printf("%d - %u\n", (int8_t) packetbuf_attr(PACKETBUF_ATTR_RSSI),
printf("%d - %u\n", (int8_t)packetbuf_attr(PACKETBUF_ATTR_RSSI),
packetbuf_attr(PACKETBUF_ATTR_LINK_QUALITY));
leds_toggle(LEDS_GREEN);
}