Skip to content

Commit

Permalink
samples: radio_test: Fix lookup table with time per byte for 4Mbit mode
Browse files Browse the repository at this point in the history
Fixed the lookup table to correctly handle byte durations in 4Mbit mode.

Ref: NCSDK-30284

Signed-off-by: Marcin Jelinski <[email protected]>
  • Loading branch information
maje-emb authored and nordicjm committed Nov 14, 2024
1 parent 01a3eee commit d839e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/peripheral/radio_test/src/radio_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d839e3c

Please sign in to comment.