diff --git a/ArduPlane/ArduPlane.pde b/ArduPlane/ArduPlane.pde index 6c67a04bbf..09b707e849 100644 --- a/ArduPlane/ArduPlane.pde +++ b/ArduPlane/ArduPlane.pde @@ -54,6 +54,7 @@ #include #include +#include #include #include // MAVLink GCS definitions #include // Camera/Antenna mount diff --git a/ArduPlane/Log.pde b/ArduPlane/Log.pde index 5f10593f09..858c115f38 100644 --- a/ArduPlane/Log.pde +++ b/ArduPlane/Log.pde @@ -565,6 +565,8 @@ static const struct LogStructure log_structure[] PROGMEM = { "ARM", "IHB", "TimeMS,ArmState,ArmChecks" }, { LOG_AIRSPEED_MSG, sizeof(log_AIRSPEED), "ARSP", "Iffc", "TimeMS,Airspeed,DiffPress,Temp" }, + { LOG_ATRP_MSG, sizeof(AP_AutoTune::log_ATRP), + "ATRP", "IBBcfff", "TimeMS,Type,State,Servo,Demanded,Achieved,P" }, TECS_LOG_FORMAT(LOG_TECS_MSG) };