Skip to content

Fix nrf5-esb-mode default #1473

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

Merged
merged 1 commit into from
Sep 4, 2022
Merged
Show file tree
Hide file tree
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 MyConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@
* - NRF5_BLE_1MBPS for 1Mbps BLE modulation
*/
#ifndef MY_NRF5_ESB_MODE
#ifdef NRF5_250KBPS
#ifdef RADIO_MODE_MODE_Nrf_250Kbit
#define MY_NRF5_ESB_MODE (NRF5_250KBPS)
#else
#define MY_NRF5_ESB_MODE (NRF5_1MBPS)
Expand Down
2 changes: 1 addition & 1 deletion hal/transport/NRF5_ESB/driver/Radio_ESB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ static inline uint8_t NRF5_ESB_byte_time()
} else if (MY_NRF5_ESB_MODE == NRF5_2MBPS) {
return (2);
}
#ifdef NRF5_250KBPS
#ifdef RADIO_MODE_MODE_Nrf_250Kbit
else if (MY_NRF5_ESB_MODE == NRF5_250KBPS) {
return (5);
}
Expand Down