mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 23:53:34 +08:00
bmi055 remove common good_transfers perf counter
This commit is contained in:
committed by
Lorenz Meier
parent
eef325e2af
commit
b6399dbdf0
@@ -713,12 +713,9 @@ BMI055_accel::measure()
|
||||
return;
|
||||
}
|
||||
|
||||
perf_count(_good_transfers);
|
||||
|
||||
if (_register_wait != 0) {
|
||||
// we are waiting for some good transfers before using
|
||||
// the sensor again. We still increment
|
||||
// _good_transfers, but don't return any data yet
|
||||
// the sensor again, but don't return any data yet
|
||||
_register_wait--;
|
||||
return;
|
||||
}
|
||||
@@ -809,7 +806,6 @@ BMI055_accel::print_info()
|
||||
perf_print_counter(_accel_reads);
|
||||
perf_print_counter(_bad_transfers);
|
||||
perf_print_counter(_bad_registers);
|
||||
perf_print_counter(_good_transfers);
|
||||
perf_print_counter(_reset_retries);
|
||||
perf_print_counter(_duplicates);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user