listen for frequency changes in the scheduler, too
This commit is contained in:
parent
7489a3bb9d
commit
367bf666fc
@ -113,6 +113,7 @@ class ServiceScheduler(object):
|
||||
self.active = False
|
||||
self.source.addClient(self)
|
||||
self.selectionTimer = None
|
||||
self.source.getProps().collect("center_freq", "samp_rate").wire(self.onFrequencyChange)
|
||||
self.scheduleSelection()
|
||||
|
||||
def shutdown(self):
|
||||
@ -144,6 +145,9 @@ class ServiceScheduler(object):
|
||||
def onSdrFailed(self):
|
||||
self.cancelTimer()
|
||||
|
||||
def onFrequencyChange(self, name, value):
|
||||
self.scheduleSelection()
|
||||
|
||||
def selectProfile(self):
|
||||
self.active = False
|
||||
if self.source.hasActiveClients():
|
||||
|
Loading…
Reference in New Issue
Block a user