File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ fhss_structure_t *fhss_ws_enable(fhss_api_t *fhss_api, const fhss_ws_configurati
75
75
memset (fhss_struct -> ws , 0 , sizeof (fhss_ws_t ));
76
76
77
77
fhss_struct -> ws -> fhss_configuration = * fhss_configuration ;
78
+ fhss_struct -> ws -> is_on_bc_channel = true;
78
79
fhss_struct -> number_of_channels = channel_count ;
79
80
ns_list_init (& fhss_struct -> fhss_failed_tx_list );
80
81
return fhss_struct ;
@@ -205,6 +206,7 @@ static void fhss_ws_synch_state_set_callback(const fhss_api_t *api, fhss_states
205
206
if ((fhss_state == FHSS_SYNCHRONIZED ) && (fhss_structure -> ws -> fhss_configuration .ws_channel_function != WS_FIXED_CHANNEL )) {
206
207
uint32_t fhss_broadcast_interval = fhss_structure -> ws -> fhss_configuration .fhss_broadcast_interval ;
207
208
uint8_t fhss_bc_dwell_interval = fhss_structure -> ws -> fhss_configuration .fhss_bc_dwell_interval ;
209
+ fhss_structure -> ws -> is_on_bc_channel = false;
208
210
// Start broadcast schedule when BC intervals are known
209
211
if (fhss_broadcast_interval && fhss_bc_dwell_interval ) {
210
212
fhss_broadcast_handler (fhss_structure -> fhss_api , 0 );
You can’t perform that action at this time.
0 commit comments