mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2025-02-22 17:29:52 +01:00
Add support for SX1280 bandwidth options
This commit is contained in:
parent
9f48fae6e8
commit
e515889e21
@ -4238,7 +4238,7 @@ class SidebandApp(MDApp):
|
||||
valid = False
|
||||
|
||||
try:
|
||||
valid_vals = [7.8, 10.4, 15.6, 20.8, 31.25, 41.7, 62.5, 125, 250, 500]
|
||||
valid_vals = [7.8, 10.4, 15.6, 20.8, 31.25, 41.7, 62.5, 125, 250, 500, 203.125, 406.25, 812.5, 1625]
|
||||
val = float(self.hardware_rnode_screen.ids.hardware_rnode_bandwidth.text)
|
||||
if not val in valid_vals:
|
||||
raise ValueError("Invalid bandwidth")
|
||||
|
Loading…
x
Reference in New Issue
Block a user