Browse Source

AP_AccelCal: rename from review feedback

c415-sdk
Andrew Tridgell 4 years ago committed by Peter Barker
parent
commit
8278a8a00b
  1. 2
      libraries/AP_AccelCal/AP_AccelCal.cpp
  2. 2
      libraries/AP_AccelCal/AP_AccelCal.h

2
libraries/AP_AccelCal/AP_AccelCal.cpp

@ -384,7 +384,7 @@ bool AP_AccelCal::gcs_vehicle_position(float position) @@ -384,7 +384,7 @@ bool AP_AccelCal::gcs_vehicle_position(float position)
}
// 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;
}

2
libraries/AP_AccelCal/AP_AccelCal.h

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

Loading…
Cancel
Save