Fix start-of_burst for PRACH Test USRP

This commit is contained in:
Xavier Arteaga 2020-06-09 12:50:40 +02:00 committed by Xavier Arteaga
parent dda91b14f7
commit 5258f27490
1 changed files with 4 additions and 2 deletions

View File

@ -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++) {