Tracker: fix formatting issues
This commit is contained in:
parent
f3461d182f
commit
0e3dfb9e5e
@ -36,7 +36,6 @@ struct PACKED log_Vehicle_Baro {
|
||||
// Write a vehicle baro packet
|
||||
void Tracker::Log_Write_Vehicle_Baro(float pressure, float altitude)
|
||||
{
|
||||
|
||||
struct log_Vehicle_Baro pkt = {
|
||||
LOG_PACKET_HEADER_INIT(LOG_V_BAR_MSG),
|
||||
time_us : AP_HAL::micros64(),
|
||||
@ -57,8 +56,8 @@ struct PACKED log_Vehicle_Pos {
|
||||
};
|
||||
|
||||
// Write a vehicle pos packet
|
||||
void Tracker::Log_Write_Vehicle_Pos(int32_t lat,int32_t lng,int32_t alt,float heading,float ground_speed){
|
||||
|
||||
void Tracker::Log_Write_Vehicle_Pos(int32_t lat, int32_t lng, int32_t alt, float heading, float ground_speed)
|
||||
{
|
||||
struct log_Vehicle_Pos pkt = {
|
||||
LOG_PACKET_HEADER_INIT(LOG_V_POS_MSG),
|
||||
time_us : AP_HAL::micros64(),
|
||||
@ -79,7 +78,6 @@ const struct LogStructure Tracker::log_structure[] = {
|
||||
"VPOS", "QLLeff", "TimeUS,Lat,Lng,Alt,Heading,Speed" }
|
||||
};
|
||||
|
||||
|
||||
void Tracker::Log_Write_Vehicle_Startup_Messages()
|
||||
{
|
||||
DataFlash.Log_Write_Mode(control_mode);
|
||||
|
Loading…
Reference in New Issue
Block a user