mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 17:35:22 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user