1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 15:34:57 -04:00

Scripts API: SuperScanner: added fc_shift parameter in channel configurations

This commit is contained in:
f4exb
2020-05-28 21:37:11 +02:00
parent 8a6189b5c0
commit 6fbc45b6c3
2 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -274,7 +274,8 @@ def get_hotspot_frequency(channel, hotspot):
channel_frequency = hotspot['begin']
else:
channel_frequency = hotspot['fc']
return channel_frequency
fc_shift = channel.get('fc_shift', 0)
return channel_frequency + fc_shift
# ======================================================================
def process_hotspots(scanned_hotspots):