Initialize variable.

master
Fabian Eckermann 3 years ago committed by Fabian Eckermann
parent 1c75ed10a8
commit 3e9590fd13

@ -83,10 +83,11 @@ void test_single_prach()
// A PRACH arrives... // A PRACH arrives...
sched_nr_interface::rar_info_t rainfo{}; sched_nr_interface::rar_info_t rainfo{};
rainfo.preamble_idx = 10; rainfo.ofdm_symbol_idx = 0;
rainfo.temp_crnti = rnti; rainfo.preamble_idx = 10;
rainfo.prach_slot = prach_slot; rainfo.temp_crnti = rnti;
rainfo.msg3_size = 7; rainfo.prach_slot = prach_slot;
rainfo.msg3_size = 7;
TESTASSERT_SUCCESS(rasched.dl_rach_info(rainfo)); TESTASSERT_SUCCESS(rasched.dl_rach_info(rainfo));
uint16_t ra_rnti = 1 + rainfo.ofdm_symbol_idx + 14 * rainfo.prach_slot.slot_idx() + 14 * 80 * rainfo.freq_idx; uint16_t ra_rnti = 1 + rainfo.ofdm_symbol_idx + 14 * rainfo.prach_slot.slot_idx() + 14 * 80 * rainfo.freq_idx;

Loading…
Cancel
Save