From b955dbe9a12f76c0f1aed13e0bb1ded388b0ee6e Mon Sep 17 00:00:00 2001 From: Atis Elsts Date: Mon, 14 Jan 2019 14:49:38 +0000 Subject: [PATCH] TSCH simple node: also set coordinator id node_id == 1 on Z1 --- examples/6tisch/simple-node/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/6tisch/simple-node/node.c b/examples/6tisch/simple-node/node.c index 381d81f8e..b8e29e7f6 100644 --- a/examples/6tisch/simple-node/node.c +++ b/examples/6tisch/simple-node/node.c @@ -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