mavlink: move commands stream to mavlink_messages.cpp, bugs fixed

This commit is contained in:
Anton Babushkin
2014-07-23 15:37:56 +02:00
parent a5f2d1b066
commit d70b21c51a
7 changed files with 78 additions and 149 deletions
+1 -1
View File
@@ -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;
}
}