mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-17 04:10:35 +08:00
mavlink: move commands stream to mavlink_messages.cpp, bugs fixed
This commit is contained in:
@@ -147,7 +147,7 @@ MavlinkParametersManager::send(const hrt_abstime t)
|
||||
if (_send_all_index >= 0) {
|
||||
send_param(param_for_index(_send_all_index));
|
||||
_send_all_index++;
|
||||
if (_send_all_index >= param_count()) {
|
||||
if (_send_all_index >= (int) param_count()) {
|
||||
_send_all_index = -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user