Fix code style: zoul examples
This commit is contained in:
parent
be1bd9a619
commit
a30154c43e
3 changed files with 5 additions and 5 deletions
|
@ -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 a new issue