Fixed issue with channel depth in 2048 bin mode

This commit is contained in:
2021-08-10 15:30:01 +02:00
parent 7a630c5f70
commit 45c5755882
+2 -2
View File
@@ -1122,8 +1122,8 @@ double Osci::GetMinSamplingSpeed()
int Osci::GetWaveformDepth(int channel)
{
if (channel == 3 && m_clkOn && m_waveDepth > kNumberOfBins)
return m_waveDepth - kNumberOfBins; // clock chnnael has only 1024 bins
if (channel == 4 && m_clkOn && m_waveDepth > kNumberOfBins)
return m_waveDepth - kNumberOfBins; // clock channel has only 1024 bins
return m_waveDepth;
}