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:
Beat Küng
2021-12-22 08:47:33 -05:00
committed by Daniel Agar
parent e29759d877
commit 89974c46b9
2 changed files with 4 additions and 0 deletions
@@ -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; }