|
|
|
@ -222,8 +222,7 @@ struct PACKED log_Startup {
@@ -222,8 +222,7 @@ struct PACKED log_Startup {
|
|
|
|
|
uint16_t command_total; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// do not add any extra log writes to this function; see LogStartup.cpp
|
|
|
|
|
bool Plane::Log_Write_Startup(uint8_t type) |
|
|
|
|
void Plane::Log_Write_Startup(uint8_t type) |
|
|
|
|
{ |
|
|
|
|
struct log_Startup pkt = { |
|
|
|
|
LOG_PACKET_HEADER_INIT(LOG_STARTUP_MSG), |
|
|
|
@ -231,7 +230,7 @@ bool Plane::Log_Write_Startup(uint8_t type)
@@ -231,7 +230,7 @@ bool Plane::Log_Write_Startup(uint8_t type)
|
|
|
|
|
startup_type : type, |
|
|
|
|
command_total : mission.num_commands() |
|
|
|
|
}; |
|
|
|
|
return DataFlash.WriteBlock(&pkt, sizeof(pkt)); |
|
|
|
|
DataFlash.WriteBlock(&pkt, sizeof(pkt)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
struct PACKED log_Control_Tuning { |
|
|
|
|