Fix sixtop example

This commit is contained in:
Simon Duquennoy 2017-10-31 14:17:50 +01:00 committed by George Oikonomou
parent 0795c57963
commit 809449ca82
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ PROCESS_THREAD(node_process, ev, data)
/* Get time-source neighbor */
n = tsch_queue_get_time_source();
if(node_id != 1) {
if(!is_coordinator) {
if((added_num_of_links == 1) || (added_num_of_links == 3)) {
printf("App : Add a link\n");
sf_simple_add_links(&n->addr, 1);