don't send bookmarks if the parameters are not available
This commit is contained in:
parent
bbad34cec3
commit
d18a4c83ac
@ -212,7 +212,7 @@ class OpenWebRxReceiverClient(OpenWebRxClient, SdrSourceEventClient):
|
|||||||
srh = configProps["samp_rate"] / 2
|
srh = configProps["samp_rate"] / 2
|
||||||
frequencyRange = (cf - srh, cf + srh)
|
frequencyRange = (cf - srh, cf + srh)
|
||||||
self.bookmarkSub = Bookmarks.getSharedInstance().subscribe(frequencyRange, sendBookmarks)
|
self.bookmarkSub = Bookmarks.getSharedInstance().subscribe(frequencyRange, sendBookmarks)
|
||||||
sendBookmarks()
|
sendBookmarks()
|
||||||
|
|
||||||
self.configSubs.append(configProps.wire(sendConfig))
|
self.configSubs.append(configProps.wire(sendConfig))
|
||||||
self.configSubs.append(stack.filter("center_freq", "samp_rate").wire(updateBookmarkSubscription))
|
self.configSubs.append(stack.filter("center_freq", "samp_rate").wire(updateBookmarkSubscription))
|
||||||
|
Loading…
Reference in New Issue
Block a user