Plane: Fixed MAVLINK stream trigger calculation.

This commit is contained in:
Joao Fortuna 2015-02-19 13:50:10 +01:00 committed by Randy Mackay
parent b99f38d39d
commit 6ac8629451

View File

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