add a feature flag

This commit is contained in:
Jakob Ketterl 2020-12-16 10:18:47 +01:00
parent 664c6e049f
commit 4b61192b36
1 changed files with 17 additions and 14 deletions

View File

@ -76,6 +76,8 @@ class output(object):
class dsp(object):
def __init__(self, output):
self.pycsdr_enabled = True
self.samp_rate = 250000
self.output_rate = 11025
self.hd_output_rate = 44100
@ -756,6 +758,7 @@ class dsp(object):
self.direwolf_config = None
def start(self):
if self.pycsdr_enabled:
if self.demodulator == "fft":
with self.modification_lock:
if self.running: