1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 19:40:20 +03:00

2ms delay between 2 SBUS frames is acceptable

This commit is contained in:
Bertrand Songis 2019-07-01 09:20:42 +02:00
parent 3bb15bddf3
commit bd7d45bb1a
No known key found for this signature in database
GPG key ID: F189F79290FEC50F

View file

@ -92,7 +92,7 @@ class SBusFrame:
current_frame = None
last = 0
for t, value in transitions:
if t - last > 5:
if t - last > 2:
if current_frame:
result.append(current_frame)
current_frame = SBusFrame()