File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
features/nanostack/mbed-mesh-api Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
- yotta_modules /*
2
- yotta_targets /*
3
1
build /*
4
- .yotta.json
Original file line number Diff line number Diff line change @@ -197,6 +197,9 @@ static void wisun_tasklet_configure_and_connect_to_network(void)
197
197
int8_t status ;
198
198
fhss_timer_t * fhss_timer_ptr = & fhss_functions ;
199
199
200
+ wisun_tasklet_data_ptr -> operating_mode = NET_6LOWPAN_ROUTER ;
201
+ wisun_tasklet_data_ptr -> operating_mode_extension = NET_6LOWPAN_WS ;
202
+
200
203
arm_nwk_interface_configure_6lowpan_bootstrap_set (
201
204
wisun_tasklet_data_ptr -> network_interface_id ,
202
205
wisun_tasklet_data_ptr -> operating_mode ,
@@ -300,8 +303,6 @@ void wisun_tasklet_init(void)
300
303
memset (wisun_tasklet_data_ptr , 0 , sizeof (wisun_tasklet_data_str_t ));
301
304
wisun_tasklet_data_ptr -> tasklet_state = TASKLET_STATE_CREATED ;
302
305
wisun_tasklet_data_ptr -> network_interface_id = INVALID_INTERFACE_ID ;
303
- wisun_tasklet_data_ptr -> operating_mode = NET_6LOWPAN_ROUTER ;
304
- wisun_tasklet_data_ptr -> operating_mode_extension = NET_6LOWPAN_WS ;
305
306
}
306
307
}
307
308
You can’t perform that action at this time.
0 commit comments