mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
and another attempt fixing ctests
This commit is contained in:
parent
ddf0f09480
commit
f9dad47c99
|
@ -623,6 +623,9 @@ class RF:
|
|||
txbuffer += bytes(mod_out_postamble)
|
||||
|
||||
# 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
|
||||
mod_out_silence = ctypes.create_string_buffer(samples_delay * 2)
|
||||
txbuffer += bytes(mod_out_silence)
|
||||
|
|
Loading…
Reference in a new issue