S.BUS: Adjust timeout interval

This commit is contained in:
Lorenz Meier
2015-12-04 21:08:27 +01:00
parent ec3282a925
commit 66bc96f4b3
+1 -1
View File
@@ -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;