disable squelch for packet, too
This commit is contained in:
parent
1f6f755d7f
commit
7e0591f0a6
2
csdr.py
2
csdr.py
@ -360,7 +360,7 @@ class dsp(object):
|
|||||||
def set_squelch_level(self, squelch_level):
|
def set_squelch_level(self, squelch_level):
|
||||||
self.squelch_level=squelch_level
|
self.squelch_level=squelch_level
|
||||||
#no squelch required on digital voice modes
|
#no squelch required on digital voice modes
|
||||||
actual_squelch = 0 if self.isDigitalVoice() else self.squelch_level
|
actual_squelch = 0 if self.isDigitalVoice() or self.isPacket() else self.squelch_level
|
||||||
if self.running:
|
if self.running:
|
||||||
self.modification_lock.acquire()
|
self.modification_lock.acquire()
|
||||||
self.squelch_pipe_file.write("%g\n"%(float(actual_squelch)))
|
self.squelch_pipe_file.write("%g\n"%(float(actual_squelch)))
|
||||||
|
Loading…
Reference in New Issue
Block a user