mirror of https://github.com/ArduPilot/ardupilot
ACM : Logging.pde formatting
This commit is contained in:
parent
ee9ac7ab2c
commit
add51f110d
|
@ -606,6 +606,8 @@ static void Log_Write_Control_Tuning()
|
||||||
DataFlash.WriteInt(angle_boost); // 6
|
DataFlash.WriteInt(angle_boost); // 6
|
||||||
DataFlash.WriteInt(climb_rate_actual); // 7
|
DataFlash.WriteInt(climb_rate_actual); // 7
|
||||||
DataFlash.WriteInt(g.rc_3.servo_out); // 8
|
DataFlash.WriteInt(g.rc_3.servo_out); // 8
|
||||||
|
DataFlash.WriteInt(desired_climb_rate); // 9
|
||||||
|
|
||||||
|
|
||||||
DataFlash.WriteByte(END_BYTE);
|
DataFlash.WriteByte(END_BYTE);
|
||||||
}
|
}
|
||||||
|
@ -617,11 +619,11 @@ static void Log_Read_Control_Tuning()
|
||||||
|
|
||||||
Serial.printf_P(PSTR("CTUN, "));
|
Serial.printf_P(PSTR("CTUN, "));
|
||||||
|
|
||||||
for(uint8_t i = 1; i < 8; i++ ) {
|
for(uint8_t i = 1; i < 9; i++ ) {
|
||||||
temp = DataFlash.ReadInt();
|
temp = DataFlash.ReadInt();
|
||||||
Serial.printf_P(PSTR("%d, "), (int)temp);
|
Serial.printf_P(PSTR("%d, "), (int)temp);
|
||||||
}
|
}
|
||||||
// read 8
|
// read 9
|
||||||
temp = DataFlash.ReadInt();
|
temp = DataFlash.ReadInt();
|
||||||
Serial.printf_P(PSTR("%d\n"), (int)temp);
|
Serial.printf_P(PSTR("%d\n"), (int)temp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue