mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08:00
mavlink_messages: fix length of NAV_CONTROLLER msg
This was caught in an unrelated review.
This commit is contained in:
@@ -3443,7 +3443,7 @@ public:
|
|||||||
unsigned get_size()
|
unsigned get_size()
|
||||||
{
|
{
|
||||||
return (_fw_pos_ctrl_status_sub->is_published()) ?
|
return (_fw_pos_ctrl_status_sub->is_published()) ?
|
||||||
MAVLINK_MSG_ID_NAV_CONTROLLER_OUTPUT + MAVLINK_NUM_NON_PAYLOAD_BYTES : 0;
|
MAVLINK_MSG_ID_NAV_CONTROLLER_OUTPUT_LEN + MAVLINK_NUM_NON_PAYLOAD_BYTES : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user