diff --git a/lib/src/phy/phch/test/prach_test_usrp.c b/lib/src/phy/phch/test/prach_test_usrp.c index 5d4fc39c2..f002e86bb 100644 --- a/lib/src/phy/phch/test/prach_test_usrp.c +++ b/lib/src/phy/phch/test/prach_test_usrp.c @@ -265,10 +265,12 @@ int main(int argc, char** argv) double peak_avg = 0.0; uint32_t count = 0; + // First transmission shall be flagged as start of burst + bool is_start_of_burst = true; + // Perform experiment for given a number of repetitions for (uint32_t rep = 0; rep < nof_repetitions; rep++) { - // First transmission shall be flagged as start of burst - bool is_start_of_burst = true; + is_start_of_burst |= !continous_tx; // For a the number of frames for (uint32_t nframe = 0; nframe < nof_frames; nframe++) {