diff --git a/libraries/AC_AttitudeControl/AC_PosControl.cpp b/libraries/AC_AttitudeControl/AC_PosControl.cpp index 668517e647..555b580266 100644 --- a/libraries/AC_AttitudeControl/AC_PosControl.cpp +++ b/libraries/AC_AttitudeControl/AC_PosControl.cpp @@ -827,7 +827,6 @@ float AC_PosControl::time_since_last_xy_update() const return (now_us - _last_update_xy_us) * 1.0e-6f; } -// write log to dataflash void AC_PosControl::write_log() { const Vector3f &pos_target = get_pos_target(); diff --git a/libraries/AC_AttitudeControl/AC_PosControl.h b/libraries/AC_AttitudeControl/AC_PosControl.h index de3fada0ee..9b7060f327 100644 --- a/libraries/AC_AttitudeControl/AC_PosControl.h +++ b/libraries/AC_AttitudeControl/AC_PosControl.h @@ -291,7 +291,6 @@ public: // time_since_last_xy_update - returns time in seconds since the horizontal position controller was last run float time_since_last_xy_update() const; - // write log to dataflash void write_log(); // provide feedback on whether arming would be a good idea right now: