Skip to content

Commit

Permalink
samples: radio_test: Fix EGU configuration
Browse files Browse the repository at this point in the history
Commit fixes the use of functions to configure the EGU.

Ref: NCSDK-23047

Signed-off-by: Marcin Jelinski <marcin.jelinski@nordicsemi.no>
  • Loading branch information
maje-emb authored and nordicjm committed Aug 21, 2023
1 parent e187e63 commit 142e76c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions samples/peripheral/radio_test/src/radio_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,7 @@ static int fem_configure(bool rx, nrf_radio_mode_t mode,
static void radio_start(bool rx, bool force_egu)
{
if (IS_ENABLED(CONFIG_FEM) || force_egu) {
nrf_egu_task_trigger(RADIO_TEST_EGU,
nrf_egu_task_address_get(RADIO_TEST_EGU, RADIO_TEST_EGU_TASK));
nrf_egu_task_trigger(RADIO_TEST_EGU, RADIO_TEST_EGU_TASK);
} else {
nrf_radio_task_trigger(NRF_RADIO, rx ? NRF_RADIO_TASK_RXEN : NRF_RADIO_TASK_TXEN);
}
Expand Down

0 comments on commit 142e76c

Please sign in to comment.