diff --git a/gui/src/components/dynamic_components.vue b/gui/src/components/dynamic_components.vue
index 8cbb5ebb..89f453d4 100644
--- a/gui/src/components/dynamic_components.vue
+++ b/gui/src/components/dynamic_components.vue
@@ -8,7 +8,7 @@ import "../../node_modules/gridstack/dist/gridstack.min.css";
import { GridStack } from "gridstack";
import { useStateStore } from "../store/stateStore.js";
const state = useStateStore(pinia);
-import { setRadioParameters } from "../js/api";
+import { setRadioParametersFrequency, setRadioParametersMode, setRadioParametersRFLevel } from "../js/api";
import { saveLocalSettingsToConfig, settingsStore } from "../store/settingsStore";
import active_heard_stations from "./grid/grid_active_heard_stations.vue";
@@ -251,14 +251,22 @@ new gridWidget(
//New new widget ID should be 20
];
+
function updateFrequencyAndApply(frequency) {
state.new_frequency = frequency;
- set_radio_parameters();
+ set_radio_parameter_frequency();
}
-function set_radio_parameters(){
- setRadioParameters(state.new_frequency, state.mode, state.rf_level);
+function set_radio_parameter_frequency(){
+ setRadioParametersFrequency(state.new_frequency)
+}
+function set_radio_parameter_mode(){
+ setRadioParametersMode(state.mode)
+}
+
+function set_radio_parameter_rflevel(){
+ setRadioParametersRFLevel(state.rf_level)
}
diff --git a/gui/src/components/grid/grid_active_rig_control.vue b/gui/src/components/grid/grid_active_rig_control.vue
index 2042fe3e..732deb5b 100644
--- a/gui/src/components/grid/grid_active_rig_control.vue
+++ b/gui/src/components/grid/grid_active_rig_control.vue
@@ -1,15 +1,26 @@
@@ -47,18 +58,14 @@ function set_radio_parameters() {
@@ -69,7 +76,7 @@ function set_radio_parameters() {