mirror of https://github.com/ArduPilot/ardupilot
AP_ADSB: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
f9732b6c70
commit
7e01935893
|
@ -97,7 +97,7 @@ public:
|
|||
void set_is_auto_mode(const bool is_in_auto_mode) { out_state.is_in_auto_mode = is_in_auto_mode; }
|
||||
void set_is_flying(const bool is_flying) { out_state.is_flying = is_flying; }
|
||||
|
||||
UAVIONIX_ADSB_RF_HEALTH get_transceiver_status(void) { return out_state.status; }
|
||||
UAVIONIX_ADSB_RF_HEALTH get_transceiver_status(void) const { return out_state.status; }
|
||||
|
||||
// extract a location out of a vehicle item
|
||||
Location get_location(const adsb_vehicle_t &vehicle) const;
|
||||
|
|
Loading…
Reference in New Issue