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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user