fix mavlink ulog: return if initial ack not yet received

Avoid sending data before we have an ack from the logger.
This commit is contained in:
Beat Küng
2016-11-11 14:51:06 +01:00
committed by Lorenz Meier
parent a96ee50442
commit d54e22614f
+1
View File
@@ -95,6 +95,7 @@ int MavlinkULog::handle_update(mavlink_channel_t channel)
PX4_WARN("no ack from logger (is it running?)");
return -1;
}
return 0;
}
// check if we're waiting for an ACK