disable squelch for packet, too

This commit is contained in:
Jakob Ketterl 2019-06-22 18:31:23 +02:00
parent 1f6f755d7f
commit 7e0591f0a6

View File

@ -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)))