bump deps, improvement for TMTC script

This commit is contained in:
2022-08-17 17:16:50 +02:00
parent c403abfa9f
commit 3b32fa79c1
3 changed files with 6 additions and 3 deletions

View File

@ -50,7 +50,10 @@ def main():
elif state.request == BackendRequest.DELAY_LISTENER:
time.sleep(0.8)
elif state.request == BackendRequest.DELAY_CUSTOM:
time.sleep(state.next_delay.total_seconds())
if state.next_delay.total_seconds() < 0.5:
time.sleep(state.next_delay.total_seconds())
else:
time.sleep(0.5)
elif state.request == BackendRequest.CALL_NEXT:
pass
except KeyboardInterrupt: