Browse Source

AP_SmartRTL: rename dataflash to logger

master
Tom Pittenger 6 years ago committed by Peter Barker
parent
commit
15b89f37ef
  1. 2
      libraries/AP_SmartRTL/AP_SmartRTL.cpp
  2. 2
      libraries/AP_SmartRTL/AP_SmartRTL.h

2
libraries/AP_SmartRTL/AP_SmartRTL.cpp

@ -817,7 +817,7 @@ AP_SmartRTL::dist_point AP_SmartRTL::segment_segment_dist(const Vector3f &p1, co @@ -817,7 +817,7 @@ AP_SmartRTL::dist_point AP_SmartRTL::segment_segment_dist(const Vector3f &p1, co
return {dP.length(), midpoint};
}
// de-activate SmartRTL, send warning to GCS and log to dataflash
// de-activate SmartRTL, send warning to GCS and logger
void AP_SmartRTL::deactivate(SRTL_Actions action, const char *reason)
{
_active = false;

2
libraries/AP_SmartRTL/AP_SmartRTL.h

@ -155,7 +155,7 @@ private: @@ -155,7 +155,7 @@ private:
// get the closest distance between 2 line segments and the point midway between the closest points
static dist_point segment_segment_dist(const Vector3f& p1, const Vector3f& p2, const Vector3f& p3, const Vector3f& p4);
// de-activate SmartRTL, send warning to GCS and log to dataflash
// de-activate SmartRTL, send warning to GCS and logger
void deactivate(SRTL_Actions action, const char *reason);
// logging

Loading…
Cancel
Save