Skip to content

Commit

Permalink
Set iq_phase_cal in radio when starting SPEC mode (#1972)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotherNgineer committed Mar 10, 2024
1 parent e9b9ba4 commit ccd71d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions firmware/application/apps/analog_audio_app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 *******************************************************/
Expand Down

0 comments on commit ccd71d9

Please sign in to comment.