From 59e4d9fa992ef24d6b159c898c3b3686f7ccee33 Mon Sep 17 00:00:00 2001 From: Douglas Anderson Date: Thu, 3 Mar 2016 17:38:30 -0700 Subject: [PATCH] pdsch_enode: write requested number of frames to file In pdsch_enode, when requesting "nf" frames be written to file, only 1 full frame was written. The "nf++" index increment line was inside the subframe for loop. --- srslte/examples/pdsch_enodeb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srslte/examples/pdsch_enodeb.c b/srslte/examples/pdsch_enodeb.c index 36b93d8d5..011164bd8 100644 --- a/srslte/examples/pdsch_enodeb.c +++ b/srslte/examples/pdsch_enodeb.c @@ -653,8 +653,8 @@ int main(int argc, char **argv) { start_of_burst=false; #endif } - nf++; } + nf++; sfn = (sfn + 1) % 1024; }