jn516x examples: fix compiler warnings to enable -Wall -Werror compilation
This commit is contained in:
parent
c13274c550
commit
1634acf2c4
6 changed files with 17 additions and 23 deletions
|
@ -101,9 +101,10 @@ PROCESS_THREAD(unicast_test_process, ev, data)
|
|||
}
|
||||
|
||||
if(!runicast_is_transmitting(&runicast)) {
|
||||
linkaddr_t recv = { 0 };
|
||||
static char buffer[100] = "hello";
|
||||
linkaddr_t recv;
|
||||
|
||||
memset(&recv, 0, LINKADDR_SIZE);
|
||||
packetbuf_copyfrom(buffer, sizeof(buffer));
|
||||
recv.u8[0] = RX_ADDR1;
|
||||
recv.u8[1] = RX_ADDR2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue