AP_InertialSensor: correct logging of inertial-sensor reg-change logging

This commit is contained in:
Peter Barker 2021-12-18 13:31:34 +11:00 committed by Andrew Tridgell
parent f4cdbb2707
commit ee8d34afb1

View File

@ -609,7 +609,7 @@ bool AP_InertialSensor_Backend::should_log_imu_raw() const
// log an unexpected change in a register for an IMU
void AP_InertialSensor_Backend::log_register_change(uint32_t bus_id, const AP_HAL::Device::checkreg &reg)
{
AP::logger().Write("IREG", "TimeUS,DevID,Bank,Reg,Val", "QUBBB",
AP::logger().Write("IREG", "TimeUS,DevID,Bank,Reg,Val", "QIBBB",
AP_HAL::micros64(),
bus_id,
reg.bank,