Browse Source

mavlink streams: add return in all cases

Generally not needed here, but GCC produced an error when compiling with
-finstrument-functions.
master
Beat Küng 3 years ago committed by Daniel Agar
parent
commit
89974c46b9
  1. 2
      src/modules/mavlink/streams/ACTUATOR_CONTROL_TARGET.hpp
  2. 2
      src/modules/mavlink/streams/SERVO_OUTPUT_RAW.hpp

2
src/modules/mavlink/streams/ACTUATOR_CONTROL_TARGET.hpp

@ -57,6 +57,8 @@ public: @@ -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; }

2
src/modules/mavlink/streams/SERVO_OUTPUT_RAW.hpp

@ -51,6 +51,8 @@ public: @@ -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; }

Loading…
Cancel
Save