From c36ce574507bb8a981f62d1caba8ff0bc4c18644 Mon Sep 17 00:00:00 2001 From: piyush0411 Date: Mon, 15 Jun 2020 20:05:53 +0530 Subject: [PATCH] Fixed some errors in Signal Generator File --- .../signal_generator/gnuradio_blocks/signal_generator_c.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/signal_generator/gnuradio_blocks/signal_generator_c.cc b/src/algorithms/signal_generator/gnuradio_blocks/signal_generator_c.cc index 367d23a04..6ebb9773f 100644 --- a/src/algorithms/signal_generator/gnuradio_blocks/signal_generator_c.cc +++ b/src/algorithms/signal_generator/gnuradio_blocks/signal_generator_c.cc @@ -402,7 +402,7 @@ int signal_generator_c::general_work(int noutput_items __attribute__((unused)), out_idx++; } } - if (signal_[sat].at(0) == '7') + else if (signal_[sat].at(0) == '7') { // EACH WORK outputs 1 modulated primary code int codelen = static_cast(GALILEO_E5B_CODE_LENGTH_CHIPS);