Added node id restoring at the boot-up.

This commit is contained in:
kasunch 2009-09-24 06:53:35 +00:00
parent 5e1db8b6fa
commit 71b5872045

View file

@ -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"),