mirror of https://github.com/DJ2LS/FreeDATA
cleanup
This commit is contained in:
parent
a00c2ebc6f
commit
e0b80c050c
|
@ -623,9 +623,6 @@ class RF:
|
||||||
txbuffer += bytes(mod_out_postamble)
|
txbuffer += bytes(mod_out_postamble)
|
||||||
|
|
||||||
# Add delay to end of frames
|
# Add delay to end of frames
|
||||||
# for TESTMODE we need some additional delay for making ctests stable because of MKFIFO related problems
|
|
||||||
if TESTMODE:
|
|
||||||
repeat_delay = 100
|
|
||||||
samples_delay = int(self.MODEM_SAMPLE_RATE * (repeat_delay / 1000)) # type: ignore
|
samples_delay = int(self.MODEM_SAMPLE_RATE * (repeat_delay / 1000)) # type: ignore
|
||||||
mod_out_silence = ctypes.create_string_buffer(samples_delay * 2)
|
mod_out_silence = ctypes.create_string_buffer(samples_delay * 2)
|
||||||
txbuffer += bytes(mod_out_silence)
|
txbuffer += bytes(mod_out_silence)
|
||||||
|
@ -715,7 +712,6 @@ class RF:
|
||||||
# if we're transmitting FreeDATA signals, reset channel busy state
|
# if we're transmitting FreeDATA signals, reset channel busy state
|
||||||
static.CHANNEL_BUSY = False
|
static.CHANNEL_BUSY = False
|
||||||
|
|
||||||
print("ENDE GELÄNDE")
|
|
||||||
static.PTT_STATE = self.radio.set_ptt(False)
|
static.PTT_STATE = self.radio.set_ptt(False)
|
||||||
|
|
||||||
# Push ptt state to socket stream
|
# Push ptt state to socket stream
|
||||||
|
|
Loading…
Reference in New Issue