File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -524,6 +524,9 @@ static int8_t ws_fhss_initialize(protocol_interface_info_entry_t *cur)
524
524
return 0 ;
525
525
}
526
526
fhss_configuration = * fhss_configuration_copy ;
527
+ //Overwrite domain channel setup this will over write a default 35 channel
528
+ int num_of_channels = channel_list_count_channels (fhss_configuration_copy -> unicast_channel_mask );
529
+ cur -> ws_info -> hopping_schdule .number_of_channels = (uint8_t ) num_of_channels ;
527
530
memcpy (cur -> ws_info -> cfg -> fhss .fhss_channel_mask , fhss_configuration_copy -> unicast_channel_mask , sizeof (uint32_t ) * 8 );
528
531
cur -> ws_info -> cfg -> fhss .fhss_uc_channel_function = fhss_configuration_copy -> ws_uc_channel_function ;
529
532
cur -> ws_info -> cfg -> fhss .fhss_bc_channel_function = fhss_configuration_copy -> ws_bc_channel_function ;
You can’t perform that action at this time.
0 commit comments