TSCH simple node: also set coordinator id node_id == 1 on Z1
This commit is contained in:
parent
bc09e10578
commit
b955dbe9a1
@ -60,7 +60,7 @@ PROCESS_THREAD(node_process, ev, data)
|
|||||||
|
|
||||||
is_coordinator = 0;
|
is_coordinator = 0;
|
||||||
|
|
||||||
#if CONTIKI_TARGET_COOJA
|
#if CONTIKI_TARGET_COOJA || CONTIKI_TARGET_Z1
|
||||||
is_coordinator = (node_id == 1);
|
is_coordinator = (node_id == 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user