mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Baro: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
f6937babfa
commit
6a824b1467
@ -180,7 +180,7 @@ public:
|
||||
void set_baro_drift_altitude(float alt) { _alt_offset = alt; }
|
||||
|
||||
// get baro drift amount
|
||||
float get_baro_drift_offset(void) { return _alt_offset_active; }
|
||||
float get_baro_drift_offset(void) const { return _alt_offset_active; }
|
||||
|
||||
// simple atmospheric model
|
||||
static void SimpleAtmosphere(const float alt, float &sigma, float &delta, float &theta);
|
||||
|
Loading…
Reference in New Issue
Block a user