fix debugging; synchronize startup

This commit is contained in:
Jakob Ketterl
2020-04-30 22:54:44 +02:00
parent 1764abe65f
commit 56f3f089a1
2 changed files with 8 additions and 5 deletions

View File

@ -229,7 +229,6 @@ class OpenWebRxReceiverClient(Client):
def startDsp(self):
while True:
logger.debug("starting dsp...")
self.getDsp().start()
if self.sdr.getState() == SdrSource.STATE_FAILED:
self.write_log_message('SDR device "{0}" has failed, selecting new device'.format(self.sdr.getName()))
@ -247,7 +246,6 @@ class OpenWebRxReceiverClient(Client):
super().close()
def stopDsp(self):
logger.debug("stopDsp")
if self.dsp is not None:
self.dsp.stop()
self.dsp = None
@ -270,7 +268,6 @@ class OpenWebRxReceiverClient(Client):
def getDsp(self):
if self.dsp is None:
logger.debug("new DSP")
self.dsp = DspManager(self, self.sdr)
return self.dsp