mirror of https://github.com/ArduPilot/ardupilot
AP_InertialSensor: correct logging of inertial-sensor reg-change logging
This commit is contained in:
parent
09697827cc
commit
9ce42a067f
|
@ -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 ®)
|
void AP_InertialSensor_Backend::log_register_change(uint32_t bus_id, const AP_HAL::Device::checkreg ®)
|
||||||
{
|
{
|
||||||
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…
Reference in New Issue