mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-22 21:40:36 +01:00
Change back bandwidth if user deselects channel 5
This commit is contained in:
parent
a89f452ccb
commit
2ce8b1bdfb
@ -3807,6 +3807,9 @@ class SidebandApp(MDApp):
|
|||||||
if self.sideband.config["hw_rnode_channel_index"] == 4:
|
if self.sideband.config["hw_rnode_channel_index"] == 4:
|
||||||
# Change bandwidth on channel 5 to 250kHz due to le epic ofcom regulation
|
# Change bandwidth on channel 5 to 250kHz due to le epic ofcom regulation
|
||||||
self.hardware_rnode_screen.ids.hardware_rnode_bandwidth.text = str(250000 / 1000)
|
self.hardware_rnode_screen.ids.hardware_rnode_bandwidth.text = str(250000 / 1000)
|
||||||
|
else:
|
||||||
|
preset = self.sideband.config["hw_rnode_presets"][self.sideband.config["hw_rnode_preset_index"]]
|
||||||
|
self.hardware_rnode_load_preset(preset, primary_modem)
|
||||||
else:
|
else:
|
||||||
self.hardware_rnode_screen.ids.hardware_rnode_sec_channel.text = channel
|
self.hardware_rnode_screen.ids.hardware_rnode_sec_channel.text = channel
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user