mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:38:52 +08:00
mavlink streams: add return in all cases
Generally not needed here, but GCC produced an error when compiling with -finstrument-functions.
This commit is contained in:
@@ -57,6 +57,8 @@ public:
|
||||
case 3:
|
||||
return "ACTUATOR_CONTROL_TARGET3";
|
||||
}
|
||||
|
||||
return "ACTUATOR_CONTROL_TARGET";
|
||||
}
|
||||
|
||||
static constexpr uint16_t get_id_static() { return MAVLINK_MSG_ID_ACTUATOR_CONTROL_TARGET; }
|
||||
|
||||
@@ -51,6 +51,8 @@ public:
|
||||
case 1:
|
||||
return "SERVO_OUTPUT_RAW_1";
|
||||
}
|
||||
|
||||
return "SERVO_OUTPUT_RAW";
|
||||
}
|
||||
|
||||
static constexpr uint16_t get_id_static() { return MAVLINK_MSG_ID_SERVO_OUTPUT_RAW; }
|
||||
|
||||
Reference in New Issue
Block a user