Tracker: fixed MAVLink stream trigger calculations

This commit is contained in:
Randy Mackay 2015-02-20 13:16:05 +09:00
parent d7d5b7bb73
commit 343bcbb1c9

View File

@ -380,7 +380,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;
}