mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-07-16 06:29:02 +00:00
Fix code style: zoul examples
This commit is contained in:
parent
be1bd9a619
commit
a30154c43e
@ -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(),
|
printf("*** Received %u bytes from %u:%u: '0x%04u' ", packetbuf_datalen(),
|
||||||
from->u8[0], from->u8[1], *(uint16_t *)packetbuf_dataptr());
|
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));
|
packetbuf_attr(PACKETBUF_ATTR_LINK_QUALITY));
|
||||||
leds_toggle(LEDS_GREEN);
|
leds_toggle(LEDS_GREEN);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user