TSCH simple node: also set coordinator id node_id == 1 on Z1

This commit is contained in:
Atis Elsts 2019-01-14 14:49:38 +00:00
parent bc09e10578
commit b955dbe9a1
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ PROCESS_THREAD(node_process, ev, data)
is_coordinator = 0;
#if CONTIKI_TARGET_COOJA
#if CONTIKI_TARGET_COOJA || CONTIKI_TARGET_Z1
is_coordinator = (node_id == 1);
#endif