Add support for SX1280 bandwidth options

This commit is contained in:
Mark Qvist 2025-01-03 22:35:27 +01:00
parent 9f48fae6e8
commit e515889e21

View File

@ -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")