LibreVNA TCP driver

This commit is contained in:
Jan Käberich 2023-01-29 18:02:32 +01:00
parent 80c5fc0ff6
commit 2c86cf1d6c
16 changed files with 550 additions and 33 deletions

View file

@ -527,7 +527,7 @@ void SpectrumAnalyzer::NewDatapoint(DeviceDriver::SAMeasurement m)
UpdateAverageCount();
markerModel->updateMarkers();
}
static int lastPoint = 0;
static unsigned int lastPoint = 0;
if(m_avg.pointNum > 0 && m_avg.pointNum != lastPoint + 1) {
qWarning() << "Got point" << m_avg.pointNum << "but last received point was" << lastPoint << "("<<(m_avg.pointNum-lastPoint-1)<<"missed points)";
}