mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 07:31:36 +08:00
vehicle_command commands are uint16, not uint32
This commit is contained in:
@@ -4149,7 +4149,7 @@ void answer_command(struct vehicle_command_s &cmd, unsigned result,
|
||||
.result_param2 = 0,
|
||||
.command = cmd.command,
|
||||
.result = (uint8_t)result,
|
||||
.from_external = 0,
|
||||
.from_external = false,
|
||||
.result_param1 = 0,
|
||||
.target_system = cmd.source_system,
|
||||
.target_component = cmd.source_component
|
||||
|
||||
Reference in New Issue
Block a user