Commit 6992111e authored by Marco Buttu's avatar Marco Buttu
Browse files

Fixed a bug in the feed number (roach component).

In case of setSection() with the feed==* (for instance,
setSection(0,*, ...) ), we were assigning the -1 value to
the feed number insead of the last value.
parent 0a7cd7f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -691,7 +691,7 @@ void CCommandLine::setConfiguration(const long& inputId,const double& freq,const
		for (int j=0;j<m_sectionsNumber;j++) m_sampleRate[j]=newSR; //the given sample rate is taken also for all the others
		m_commonSampleRate=newSR;
        m_frequency[inputId]=newFreq;
        m_feedNumber[inputId]=feed;
        m_feedNumber[inputId]=newFeed;
        m_bins[inputId]=newBins;
		IRA::CString temp;
		if (m_polarization[inputId]==Backends::BKND_LCP)