mirror of https://github.com/ArduPilot/ardupilot
Log: try to fix -ve lat in logging
This commit is contained in:
parent
997091e0d6
commit
3b67321945
|
@ -811,20 +811,20 @@ static void Log_Read_Cmd()
|
||||||
int8_t temp3 = DataFlash.ReadByte();
|
int8_t temp3 = DataFlash.ReadByte();
|
||||||
int8_t temp4 = DataFlash.ReadByte();
|
int8_t temp4 = DataFlash.ReadByte();
|
||||||
int8_t temp5 = DataFlash.ReadByte();
|
int8_t temp5 = DataFlash.ReadByte();
|
||||||
int32_t temp6 = DataFlash.ReadLong();
|
long temp6 = DataFlash.ReadLong();
|
||||||
int32_t temp7 = DataFlash.ReadLong();
|
long temp7 = DataFlash.ReadLong();
|
||||||
int32_t temp8 = DataFlash.ReadLong();
|
long temp8 = DataFlash.ReadLong();
|
||||||
|
|
||||||
// 1 2 3 4 5 6 7 8
|
// 1 2 3 4 5 6 7 8
|
||||||
Serial.printf_P(PSTR( "CMD, %d, %d, %d, %d, %d, %ld, %ld, %ld\n"),
|
Serial.printf_P(PSTR( "CMD, %d, %d, %d, %d, %d, %ld, %ld, %ld\n"),
|
||||||
temp1,
|
temp1,
|
||||||
temp2,
|
temp2,
|
||||||
temp3,
|
temp3,
|
||||||
temp4,
|
temp4,
|
||||||
temp5,
|
temp5,
|
||||||
temp6,
|
temp6,
|
||||||
temp7,
|
temp7,
|
||||||
temp8);
|
temp8);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write an attitude packet. Total length : 10 bytes
|
// Write an attitude packet. Total length : 10 bytes
|
||||||
|
|
Loading…
Reference in New Issue