Browse Source

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

zr-v5.1
Peter Barker 3 years ago committed by Randy Mackay
parent
commit
f40102dda5
  1. 2
      libraries/AP_InertialSensor/AP_InertialSensor_Backend.cpp

2
libraries/AP_InertialSensor/AP_InertialSensor_Backend.cpp

@ -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,

Loading…
Cancel
Save