mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 18:52:46 +08:00
S.BUS: Adjust timeout interval
This commit is contained in:
+1
-1
@@ -196,7 +196,7 @@ sbus_input(int sbus_fd, uint16_t *values, uint16_t *num_values, bool *sbus_fails
|
||||
/*
|
||||
* If we timed out, reset the decoder
|
||||
*/
|
||||
if ((now - last_rx_time) > 6000) {
|
||||
if ((now - last_rx_time) > 3600) {
|
||||
if (partial_frame_count > 0) {
|
||||
sbus_frame_drops++;
|
||||
partial_frame_count = 0;
|
||||
|
||||
Reference in New Issue
Block a user