mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
gimbal - input_mavlink: return NoUpdate by default
This commit is contained in:
parent
741c7ab610
commit
e4fc3022f2
@ -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.
|
||||
|
||||
bool exit_loop = false;
|
||||
UpdateResult update_result = already_active ? UpdateResult::UpdatedActive : UpdateResult::NoUpdate;
|
||||
UpdateResult update_result = UpdateResult::NoUpdate;
|
||||
|
||||
while (!exit_loop && poll_timeout >= 0) {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user