Skip to content

Commit 7706f2e

Browse files
author
Jarkko Paso
committed
FHSS: Do not return to RX channel when configured fixed channel
1 parent 666dbbf commit 7706f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Service_Libs/fhss/fhss_ws.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ static void fhss_ws_data_tx_done_callback(const fhss_api_t *api, bool waiting_ac
332332
if (!fhss_structure) {
333333
return;
334334
}
335-
if (fhss_structure->fhss_state == FHSS_SYNCHRONIZED) {
335+
if ((fhss_structure->fhss_state == FHSS_SYNCHRONIZED) && (fhss_structure->ws->fhss_configuration.ws_channel_function != WS_FIXED_CHANNEL)) {
336336
if ((waiting_ack == false) && (fhss_structure->ws->is_on_bc_channel == false)) {
337337
fhss_structure->callbacks.change_channel(fhss_structure->fhss_api, fhss_structure->rx_channel);
338338
}

0 commit comments

Comments
 (0)