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);