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 Randy Mackay
parent 09697827cc
commit 9ce42a067f
1 changed files with 1 additions and 1 deletions

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 // 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) 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(), AP_HAL::micros64(),
bus_id, bus_id,
reg.bank, reg.bank,