Browse Source

Fix gcc warnings

chirpmodem-v8.0.0
Jon Beniston 4 years ago
parent
commit
3ca1d1cb11
  1. 2
      plugins/channelrx/demodrtty/rttydemodsink.cpp
  2. 2
      plugins/channelrx/demodrtty/rttydemodsink.h

2
plugins/channelrx/demodrtty/rttydemodsink.cpp

@ -41,12 +41,12 @@ RttyDemodSink::RttyDemodSink(RttyDemod *packetDemod) :
m_prods1(nullptr), m_prods1(nullptr),
m_prods2(nullptr), m_prods2(nullptr),
m_exp(nullptr), m_exp(nullptr),
m_sampleIdx(0),
m_clockHistogram(100), m_clockHistogram(100),
m_shiftEstMag(m_fftSize), m_shiftEstMag(m_fftSize),
m_fftSequence(-1), m_fftSequence(-1),
m_fft(nullptr), m_fft(nullptr),
m_fftCounter(0), m_fftCounter(0),
m_sampleIdx(0),
m_sampleBufferIndex(0) m_sampleBufferIndex(0)
{ {
m_magsq = 0.0; m_magsq = 0.0;

2
plugins/channelrx/demodrtty/rttydemodsink.h

@ -139,7 +139,7 @@ private:
BaudotDecoder m_rttyDecoder; BaudotDecoder m_rttyDecoder;
// For baud rate estimation // For baud rate estimation
int m_cycleCount; unsigned int m_cycleCount;
std::vector<int> m_clockHistogram; std::vector<int> m_clockHistogram;
int m_edgeCount; int m_edgeCount;
MovingAverageUtil<Real, Real, 5> m_baudRateAverage; MovingAverageUtil<Real, Real, 5> m_baudRateAverage;

Loading…
Cancel
Save