bmi055 remove unused gyro duplicates perf counter

This commit is contained in:
Daniel Agar
2018-07-08 20:14:34 +02:00
committed by Lorenz Meier
parent 734fc1bf8d
commit adf6ea3596
2 changed files with 0 additions and 4 deletions
-3
View File
@@ -53,7 +53,6 @@ BMI055_gyro::BMI055_gyro(int bus, const char *path_gyro, uint32_t device, enum R
_bad_transfers(perf_alloc(PC_COUNT, "bmi055_gyro_bad_transfers")),
_bad_registers(perf_alloc(PC_COUNT, "bmi055_gyro_bad_registers")),
_reset_retries(perf_alloc(PC_COUNT, "bmi055_gyro_reset_retries")),
_duplicates(perf_alloc(PC_COUNT, "bmi055_gyro_duplicates")),
_gyro_reports(nullptr),
_gyro_scale{},
_gyro_range_scale(0.0f),
@@ -100,7 +99,6 @@ BMI055_gyro::~BMI055_gyro()
perf_free(_bad_transfers);
perf_free(_bad_registers);
perf_free(_reset_retries);
perf_free(_duplicates);
}
int
@@ -786,7 +784,6 @@ BMI055_gyro::print_info()
perf_print_counter(_bad_transfers);
perf_print_counter(_bad_registers);
perf_print_counter(_reset_retries);
perf_print_counter(_duplicates);
_gyro_reports->print_info("gyro queue");
::printf("checked_next: %u\n", _checked_next);
-1
View File
@@ -171,7 +171,6 @@ private:
perf_counter_t _bad_transfers;
perf_counter_t _bad_registers;
perf_counter_t _reset_retries;
perf_counter_t _duplicates;
ringbuffer::RingBuffer *_gyro_reports;