AP_InertialSensor: fixed flood of log with fast fifo reset

This commit is contained in:
Andrew Tridgell 2023-01-19 09:52:55 +11:00 committed by Randy Mackay
parent d48ab3b384
commit c89d5448b2
1 changed files with 1 additions and 0 deletions

View File

@ -472,6 +472,7 @@ bool AP_InertialSensor_Invensense::update() /* front end */
#if HAL_LOGGING_ENABLED
if (last_fast_reset_count != fast_reset_count) {
AP::logger().Write_MessageF("IMU%u fast fifo reset %u", _gyro_instance, fast_reset_count);
last_fast_reset_count = fast_reset_count;
}
#endif
}