vehicle_command commands are uint16, not uint32

This commit is contained in:
Daniel Agar
2017-09-08 09:06:30 +02:00
committed by Beat Küng
parent 0ae76aff32
commit e15afcca7a
11 changed files with 112 additions and 112 deletions
+1 -1
View File
@@ -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