bmi055 remove common good_transfers perf counter

This commit is contained in:
Daniel Agar
2018-07-08 20:14:34 +02:00
committed by Lorenz Meier
parent eef325e2af
commit b6399dbdf0
4 changed files with 2 additions and 31 deletions
+1 -5
View File
@@ -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);