Set iq_phase_cal in radio when starting SPEC mode (#1972)

This commit is contained in:
Mark Thompson 2024-03-10 14:50:48 -05:00 committed by GitHub
parent e9b9ba4602
commit ccd71d9593
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -137,6 +137,8 @@ SPECOptionsView::SPECOptionsView(
field_rx_iq_phase_cal.on_change = [this, view](int32_t v) {
view->set_spec_iq_phase_calibration_value(v); // using accessor function of AnalogAudioView to write inside SPEC submenu, register value to max283x and save it to rx_audio.ini
};
view->set_spec_iq_phase_calibration_value(view->get_spec_iq_phase_calibration_value()); // initialize iq_phase_calibration in radio
}
/* AnalogAudioView *******************************************************/