LimeSuiteGUI: Fix calibrate all button
calibrate all button was calibrating TX twice instead of TX+RX
@@ -126,7 +126,7 @@ void lms7002_pnlCalibrations_view::OnbtnCalibrateAll( wxCommandEvent& event )
#ifdef NDEBUG
wxBusyInfo wait("Please wait, calibrating receiver...");
#endif
- status = LMS_Calibrate(lmsControl,LMS_CH_TX,ch-1,bandwidth_MHz * 1e6,useExtLoopback);
+ status = LMS_Calibrate(lmsControl,LMS_CH_RX,ch-1,bandwidth_MHz * 1e6,useExtLoopback);
}
if (status != 0)
wxMessageBox(wxString::Format(_("Rx calibration: %s"), wxString::From8BitData(LMS_GetLastErrorMessage())));
