diff --git a/ArduCopter/Log.cpp b/ArduCopter/Log.cpp index 06920824c3..7e9630dd7d 100644 --- a/ArduCopter/Log.cpp +++ b/ArduCopter/Log.cpp @@ -403,21 +403,6 @@ void Copter::Log_Write_MotBatt() #endif } -struct PACKED log_Startup { - LOG_PACKET_HEADER; - uint64_t time_us; -}; - -// Write Startup packet -void Copter::Log_Write_Startup() -{ - struct log_Startup pkt = { - LOG_PACKET_HEADER_INIT(LOG_STARTUP_MSG), - time_us : AP_HAL::micros64() - }; - DataFlash.WriteBlock(&pkt, sizeof(pkt)); -} - struct PACKED log_Event { LOG_PACKET_HEADER; uint64_t time_us; @@ -736,8 +721,6 @@ const struct LogStructure Copter::log_structure[] = { "PM", "QHHIhBHI", "TimeUS,NLon,NLoop,MaxT,PMT,I2CErr,INSErr,LogDrop" }, { LOG_MOTBATT_MSG, sizeof(log_MotBatt), "MOTB", "Qffff", "TimeUS,LiftMax,BatVolt,BatRes,ThLimit" }, - { LOG_STARTUP_MSG, sizeof(log_Startup), - "STRT", "Q", "TimeUS" }, { LOG_EVENT_MSG, sizeof(log_Event), "EV", "QB", "TimeUS,Id" }, { LOG_DATA_INT16_MSG, sizeof(log_Data_Int16t), diff --git a/ArduCopter/defines.h b/ArduCopter/defines.h index e498f7a9be..3e46882d80 100644 --- a/ArduCopter/defines.h +++ b/ArduCopter/defines.h @@ -260,7 +260,6 @@ enum ThrowModeState { #define LOG_CONTROL_TUNING_MSG 0x04 #define LOG_NAV_TUNING_MSG 0x05 #define LOG_PERFORMANCE_MSG 0x06 -#define LOG_STARTUP_MSG 0x0A #define LOG_OPTFLOW_MSG 0x0C #define LOG_EVENT_MSG 0x0D #define LOG_PID_MSG 0x0E // deprecated