From 7e0193589336acb373181856ca6fa8b3de1e4b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Mon, 1 Feb 2021 13:26:26 -0300 Subject: [PATCH] AP_ADSB: Add missing const in member functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- libraries/AP_ADSB/AP_ADSB.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_ADSB/AP_ADSB.h b/libraries/AP_ADSB/AP_ADSB.h index ddacc0d76b..11353f08fb 100644 --- a/libraries/AP_ADSB/AP_ADSB.h +++ b/libraries/AP_ADSB/AP_ADSB.h @@ -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;