Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(BLE): Fixed out of range error in ll_main_dtm.c #1253

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Libraries/Cordio/controller/sources/ble/ll/ll_main_dtm.c
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ uint8_t LlEnhancedRxTest(uint8_t rfChan, uint8_t phy, uint8_t modIdx, uint16_t n
}

if ((LL_API_PARAM_CHECK == 1) && ((rfChan > LL_DTM_MAX_CHAN_IDX) ||
((phy < LL_TEST_PHY_LE_1M) || (phy > LL_TEST_PHY_LE_CODED)) ||
((phy < LL_TEST_PHY_LE_1M) || (phy > LL_TEST_PHY_LE_CODED_S2)) ||
(modIdx > LL_TEST_MOD_IDX_STABLE))) {
return LL_ERROR_CODE_PARAM_OUT_OF_MANDATORY_RANGE;
}
Expand Down
Loading