AP_AccelCal: rename from review feedback

This commit is contained in:
Andrew Tridgell 2021-01-20 15:06:58 +11:00 committed by Peter Barker
parent 2e2ccb40b2
commit 8278a8a00b
2 changed files with 2 additions and 2 deletions

View File

@ -384,7 +384,7 @@ bool AP_AccelCal::gcs_vehicle_position(float position)
} }
// true if we are in a calibration process // true if we are in a calibration process
bool AP_AccelCal::active(void) const bool AP_AccelCal::running(void) const
{ {
return _status == ACCEL_CAL_WAITING_FOR_ORIENTATION || _status == ACCEL_CAL_COLLECTING_SAMPLE; return _status == ACCEL_CAL_WAITING_FOR_ORIENTATION || _status == ACCEL_CAL_COLLECTING_SAMPLE;
} }

View File

@ -37,7 +37,7 @@ public:
void handleMessage(const mavlink_message_t &msg); void handleMessage(const mavlink_message_t &msg);
// true if we are in a calibration process // true if we are in a calibration process
bool active(void) const; bool running(void) const;
private: private:
GCS_MAVLINK *_gcs; GCS_MAVLINK *_gcs;