Changed the name of the rimeaddr module to linkaddr
This commit is contained in:
parent
765e9acded
commit
45265249fc
180 changed files with 930 additions and 930 deletions
|
@ -120,8 +120,8 @@ init_lowlevel(void)
|
|||
|
||||
/* Set addresses BEFORE starting tcpip process */
|
||||
|
||||
rimeaddr_t addr;
|
||||
memset(&addr, 0, sizeof(rimeaddr_t));
|
||||
linkaddr_t addr;
|
||||
memset(&addr, 0, sizeof(linkaddr_t));
|
||||
eeprom_read_block ((void *)&addr.u8, &mac_address, 8);
|
||||
|
||||
#if UIP_CONF_IPV6
|
||||
|
@ -134,7 +134,7 @@ init_lowlevel(void)
|
|||
rf230_set_channel(26);
|
||||
#endif
|
||||
|
||||
rimeaddr_set_node_addr(&addr);
|
||||
linkaddr_set_node_addr(&addr);
|
||||
|
||||
PRINTF("MAC address %x:%x:%x:%x:%x:%x:%x:%x\n",addr.u8[0],addr.u8[1],addr.u8[2],addr.u8[3],addr.u8[4],addr.u8[5],addr.u8[6],addr.u8[7]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue