2ms delay between 2 SBUS frames is acceptable
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ class SBusFrame:
|
|||||||
current_frame = None
|
current_frame = None
|
||||||
last = 0
|
last = 0
|
||||||
for t, value in transitions:
|
for t, value in transitions:
|
||||||
if t - last > 5:
|
if t - last > 2:
|
||||||
if current_frame:
|
if current_frame:
|
||||||
result.append(current_frame)
|
result.append(current_frame)
|
||||||
current_frame = SBusFrame()
|
current_frame = SBusFrame()
|
||||||
|
|||||||
Reference in New Issue
Block a user