mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 02:16:53 +08:00
gimbal - input_mavlink: return NoUpdate by default
This commit is contained in:
@@ -518,7 +518,7 @@ InputMavlinkGimbalV2::update(unsigned int timeout_ms, ControlData &control_data,
|
|||||||
// We can't return early instead because we need to copy all topics that triggered poll.
|
// We can't return early instead because we need to copy all topics that triggered poll.
|
||||||
|
|
||||||
bool exit_loop = false;
|
bool exit_loop = false;
|
||||||
UpdateResult update_result = already_active ? UpdateResult::UpdatedActive : UpdateResult::NoUpdate;
|
UpdateResult update_result = UpdateResult::NoUpdate;
|
||||||
|
|
||||||
while (!exit_loop && poll_timeout >= 0) {
|
while (!exit_loop && poll_timeout >= 0) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user