Browse Source

Plane: Fixed MAVLINK stream trigger calculation.

master
Joao Fortuna 10 years ago committed by Randy Mackay
parent
commit
6ac8629451
  1. 2
      ArduPlane/GCS_Mavlink.pde

2
ArduPlane/GCS_Mavlink.pde

@ -823,7 +823,7 @@ bool GCS_MAVLINK::stream_trigger(enum streams stream_num)
if (rate > 50) { if (rate > 50) {
rate = 50; rate = 50;
} }
stream_ticks[stream_num] = (50 / rate) + stream_slowdown; stream_ticks[stream_num] = (50 / rate) - 1 + stream_slowdown;
return true; return true;
} }

Loading…
Cancel
Save