diff --git a/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.cpp b/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.cpp index 87fc1b5..3e83799 100644 --- a/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.cpp +++ b/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.cpp @@ -203,7 +203,7 @@ void DevicePacketLogView::addEntry(const DevicePacketLog::LogEntry &e) addBool(VFF, "LO locked", sFF.LO_locked); addBool(VFF, "ADC overload", sFF.ADC_overload); addBool(VFF, "Unlevel", sFF.unlevel); - addInteger(VFF, "MCU temperature", s.temp_MCU); + addInteger(VFF, "MCU temperature", sFF.temp_MCU); } break; case Protocol::PacketType::DeviceInfo: { diff --git a/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/spectrumanalyzer.cpp b/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/spectrumanalyzer.cpp index 3907709..feed9f3 100644 --- a/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/spectrumanalyzer.cpp +++ b/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/spectrumanalyzer.cpp @@ -493,6 +493,7 @@ void SpectrumAnalyzer::NewDatapoint(DeviceDriver::SAMeasurement m) if(singleSweep && average.getLevel() == averages) { Stop(); + return; } auto m_avg = average.process(m); diff --git a/Software/PC_Application/LibreVNA-GUI/VNA/vna.cpp b/Software/PC_Application/LibreVNA-GUI/VNA/vna.cpp index eb88e05..560e9da 100644 --- a/Software/PC_Application/LibreVNA-GUI/VNA/vna.cpp +++ b/Software/PC_Application/LibreVNA-GUI/VNA/vna.cpp @@ -855,6 +855,7 @@ void VNA::NewDatapoint(DeviceDriver::VNAMeasurement m) if(singleSweep && average.getLevel() == averages) { Stop(); + return; } auto m_avg = m;