mirror of https://github.com/ArduPilot/ardupilot
Fix compile error
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2232 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
17acfca526
commit
888bd62be1
|
@ -624,7 +624,6 @@ void Log_Read_Cmd()
|
||||||
// Write an attitude packet. Total length : 10 bytes
|
// Write an attitude packet. Total length : 10 bytes
|
||||||
void Log_Write_Attitude()
|
void Log_Write_Attitude()
|
||||||
{
|
{
|
||||||
, (int)dcm.pitch_sensor, (uint16_t)dcm.yaw_sensor
|
|
||||||
DataFlash.WriteByte(HEAD_BYTE1);
|
DataFlash.WriteByte(HEAD_BYTE1);
|
||||||
DataFlash.WriteByte(HEAD_BYTE2);
|
DataFlash.WriteByte(HEAD_BYTE2);
|
||||||
DataFlash.WriteByte(LOG_ATTITUDE_MSG);
|
DataFlash.WriteByte(LOG_ATTITUDE_MSG);
|
||||||
|
@ -753,4 +752,4 @@ void Log_Read(int start_page, int end_page)
|
||||||
//Serial.printf_P(PSTR("# of packets read: %d\n"), packet_count);
|
//Serial.printf_P(PSTR("# of packets read: %d\n"), packet_count);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue