From d839e3cda69a64e0f3de12cea337aef824512bcb Mon Sep 17 00:00:00 2001 From: Marcin Jelinski Date: Wed, 13 Nov 2024 16:51:19 +0100 Subject: [PATCH] samples: radio_test: Fix lookup table with time per byte for 4Mbit mode Fixed the lookup table to correctly handle byte durations in 4Mbit mode. Ref: NCSDK-30284 Signed-off-by: Marcin Jelinski --- samples/peripheral/radio_test/src/radio_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/peripheral/radio_test/src/radio_test.c b/samples/peripheral/radio_test/src/radio_test.c index 14e1b91f74b8..98d1f8e426e1 100644 --- a/samples/peripheral/radio_test/src/radio_test.c +++ b/samples/peripheral/radio_test/src/radio_test.c @@ -901,7 +901,7 @@ static void radio_modulated_tx_carrier_duty_cycle(uint8_t mode, int8_t txpower, * Mapped per NRF_RADIO->MODE available on nRF5-series devices */ static const uint8_t time_in_us_per_byte[16] = { - 8, 4, 32, 8, 4, 64, 16, 0, 0, 0, 0, 0, 0, 0, 0, 32 + 8, 4, 32, 8, 4, 64, 16, 0, 0, 2, 2, 0, 0, 0, 0, 32 }; radio_disable();