ATV demod: replaced scaling literal by define

This commit is contained in:
f4exb 2018-01-25 18:37:30 +01:00
parent a78997b5e7
commit 3106faec8e
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ void ATVDemod::demod(Complex& c)
fltVal = (fltVal < -1.0f) ? -1.0f : (fltVal > 1.0f) ? 1.0f : fltVal;
if ((m_running.m_intVideoTabIndex == 1) && (m_scopeSink != 0)) { // feed scope buffer only if scope is present and visible
m_scopeSampleBuffer.push_back(Sample(fltVal*32767.0f, 0.0f));
m_scopeSampleBuffer.push_back(Sample(fltVal*SDR_RX_SCALEF, 0.0f));
}
m_fltAmpLineAverage += fltVal;