add a feature flag
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user