Merge remote-tracking branch 'origin/tci' into tci

This commit is contained in:
DJ2LS 2023-04-01 19:48:00 +02:00
commit a00c2ebc6f
1 changed files with 3 additions and 0 deletions

View File

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