workflow update + minor bugs/warnings fixes

This commit is contained in:
Jan Käberich 2024-11-03 13:36:54 +01:00
parent 69b2fac95f
commit 67a186be4f
5 changed files with 23 additions and 23 deletions

View file

@ -646,7 +646,7 @@ VNA::VNA(AppWindow *window, QString name)
Calibration::InterpolationType VNA::getCalInterpolation()
{
double f_min, f_max;
double f_min = 0, f_max = 0;
switch(settings.sweepType) {
case SweepType::Last:
// should never get here, use frequency values just in case
@ -976,7 +976,7 @@ void VNA::NewDatapoint(DeviceDriver::VNAMeasurement m)
window->addStreamingData(m_avg, AppWindow::VNADataType::Calibrated);
}
TraceMath::DataType type;
TraceMath::DataType type = TraceMath::DataType::Frequency;
if(settings.zerospan) {
type = TraceMath::DataType::TimeZeroSpan;