mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
Copter: fix compile error for PX4 re Compass logging
This commit is contained in:
parent
d6ff5ae261
commit
c8f09ac219
@ -604,9 +604,9 @@ static void Log_Write_Compass()
|
||||
mag_x : compass.mag_x,
|
||||
mag_y : compass.mag_y,
|
||||
mag_z : compass.mag_z,
|
||||
offset_x : mag_offsets.x,
|
||||
offset_y : mag_offsets.y,
|
||||
offset_z : mag_offsets.z,
|
||||
offset_x : (int16_t)mag_offsets.x,
|
||||
offset_y : (int16_t)mag_offsets.y,
|
||||
offset_z : (int16_t)mag_offsets.z,
|
||||
};
|
||||
DataFlash.WriteBlock(&pkt, sizeof(pkt));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user