Skip to content

Commit 4b6d10d

Browse files
ankunsrlubos
authored andcommitted
samples: radio_test: pass radio_mode to fem_al API
The function `fem_tx_output_power_prepare` requires `radio_mode` parameter. This commit aligns radio_test sample to this change. Signed-off-by: Andrzej Kuros <[email protected]>
1 parent f07d49e commit 4b6d10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/peripheral/radio_test/src/radio_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ static void radio_power_set(nrf_radio_mode_t mode, uint8_t channel, int8_t power
400400

401401
if (IS_ENABLED(CONFIG_RADIO_TEST_POWER_CONTROL_AUTOMATIC)) {
402402
frequency = channel_to_frequency(mode, channel);
403-
output_power = fem_tx_output_power_prepare(power, &radio_power, frequency);
403+
output_power = fem_tx_output_power_prepare(power, &radio_power, mode, frequency);
404404
}
405405
#else
406406
ARG_UNUSED(mode);

0 commit comments

Comments
 (0)