mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-28 10:43:58 -04:00
Blimp: move from MAV_MODE
enum to uint8_t
This commit is contained in:
parent
77b8d90226
commit
c07863f6cd
@ -9,7 +9,7 @@ MAV_TYPE GCS_Blimp::frame_type() const
|
||||
return blimp.get_frame_mav_type();
|
||||
}
|
||||
|
||||
MAV_MODE GCS_MAVLINK_Blimp::base_mode() const
|
||||
uint8_t GCS_MAVLINK_Blimp::base_mode() const
|
||||
{
|
||||
uint8_t _base_mode = MAV_MODE_FLAG_STABILIZE_ENABLED;
|
||||
_base_mode |= MAV_MODE_FLAG_MANUAL_INPUT_ENABLED;
|
||||
@ -22,7 +22,7 @@ MAV_MODE GCS_MAVLINK_Blimp::base_mode() const
|
||||
// indicate we have set a custom mode
|
||||
_base_mode |= MAV_MODE_FLAG_CUSTOM_MODE_ENABLED;
|
||||
|
||||
return (MAV_MODE)_base_mode;
|
||||
return _base_mode;
|
||||
}
|
||||
|
||||
uint32_t GCS_Blimp::custom_mode() const
|
||||
|
@ -60,7 +60,7 @@ private:
|
||||
void packetReceived(const mavlink_status_t &status,
|
||||
const mavlink_message_t &msg) override;
|
||||
|
||||
MAV_MODE base_mode() const override;
|
||||
uint8_t base_mode() const override;
|
||||
MAV_STATE vehicle_system_status() const override;
|
||||
|
||||
float vfr_hud_airspeed() const override;
|
||||
|
Loading…
Reference in New Issue
Block a user