Use shorter perf names for L3GD20H

This commit is contained in:
Lorenz Meier
2016-03-28 13:02:59 +02:00
parent 54a75d5ef9
commit 6b7142469a

View File

@@ -426,9 +426,9 @@ L3GD20::L3GD20(int bus, const char *path, spi_dev_e device, enum Rotation rotati
_orientation(SENSOR_BOARD_ROTATION_DEFAULT),
_read(0),
_sample_perf(perf_alloc(PC_ELAPSED, "l3gd20_read")),
_errors(perf_alloc(PC_COUNT, "l3gd20_errors")),
_bad_registers(perf_alloc(PC_COUNT, "l3gd20_bad_registers")),
_duplicates(perf_alloc(PC_COUNT, "l3gd20_duplicates")),
_errors(perf_alloc(PC_COUNT, "l3gd20_err")),
_bad_registers(perf_alloc(PC_COUNT, "l3gd20_bad_reg")),
_duplicates(perf_alloc(PC_COUNT, "l3gd20_dupe")),
_register_wait(0),
_gyro_filter_x(L3GD20_DEFAULT_RATE, L3GD20_DEFAULT_FILTER_FREQ),
_gyro_filter_y(L3GD20_DEFAULT_RATE, L3GD20_DEFAULT_FILTER_FREQ),