mirror of https://github.com/PentHertz/srsLTE.git
Fix start-of_burst for PRACH Test USRP
This commit is contained in:
parent
dda91b14f7
commit
5258f27490
|
@ -265,10 +265,12 @@ int main(int argc, char** argv)
|
||||||
double peak_avg = 0.0;
|
double peak_avg = 0.0;
|
||||||
uint32_t count = 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
|
// Perform experiment for given a number of repetitions
|
||||||
for (uint32_t rep = 0; rep < nof_repetitions; rep++) {
|
for (uint32_t rep = 0; rep < nof_repetitions; rep++) {
|
||||||
// First transmission shall be flagged as start of burst
|
is_start_of_burst |= !continous_tx;
|
||||||
bool is_start_of_burst = true;
|
|
||||||
|
|
||||||
// For a the number of frames
|
// For a the number of frames
|
||||||
for (uint32_t nframe = 0; nframe < nof_frames; nframe++) {
|
for (uint32_t nframe = 0; nframe < nof_frames; nframe++) {
|
||||||
|
|
Loading…
Reference in New Issue