Skip to content

Commit 8cc0ff5

Browse files
author
Jarkko Paso
authored
Disabled temporarily tx slot check for testing purposes (ARMmbed#2287)
1 parent e306dc5 commit 8cc0ff5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/Service_Libs/fhss/fhss_ws.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -587,9 +587,10 @@ static bool fhss_ws_check_tx_allowed(fhss_structure_t *fhss_structure)
587587
* v
588588
* | BC | RX | TX | RX | TX | RX | TX | BC |
589589
*/
590-
if (tx_slot_begin_ms < remaining_time_ms) {
591-
return false;
592-
}
590+
// Temporarily commented this check for testing purposes
591+
// if (tx_slot_begin_ms < remaining_time_ms) {
592+
// return false;
593+
// }
593594
tx_slot_begin_ms = tx_slot_begin_ms - (((tx_slot_begin_ms - remaining_time_ms) / (2 * fhss_structure->ws->txrx_slot_length_ms)) * (2 * fhss_structure->ws->txrx_slot_length_ms));
594595
uint32_t rx_slot_begin_ms = tx_slot_begin_ms - fhss_structure->ws->txrx_slot_length_ms;
595596
/* Check if we are currently on TX slot.

0 commit comments

Comments
 (0)