Replay: update Attitude on ATT rather than AHRS2

This commit is contained in:
Peter Barker 2015-05-09 20:46:27 +10:00 committed by Andrew Tridgell
parent cb59570938
commit f3d1242d60

View File

@ -167,7 +167,7 @@ bool LogReader::update(uint8_t &type)
// and also the rover/copter/plane-specific (old) messages
msgparser[f.type] = new MsgHandler_ATT(formats[f.type], dataflash,
last_timestamp_usec,
ahr2_attitude);
attitude);
} else if (streq(name, "MAG")) {
msgparser[f.type] = new MsgHandler_MAG(formats[f.type], dataflash,
last_timestamp_usec, compass);