Added node id restoring at the boot-up.
This commit is contained in:
parent
5e1db8b6fa
commit
71b5872045
|
@ -101,6 +101,8 @@ main(void)
|
||||||
|
|
||||||
init_net();
|
init_net();
|
||||||
|
|
||||||
|
node_id_restore();
|
||||||
|
|
||||||
printf_P(PSTR(CONTIKI_VERSION_STRING " started. Node id %u, using %s.\n"),
|
printf_P(PSTR(CONTIKI_VERSION_STRING " started. Node id %u, using %s.\n"),
|
||||||
node_id, rime_mac->name);
|
node_id, rime_mac->name);
|
||||||
printf_P(PSTR("MAC %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x\n"),
|
printf_P(PSTR("MAC %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x\n"),
|
||||||
|
|
Loading…
Reference in a new issue