Browse Source

Use shorter perf names for L3GD20H

sbg
Lorenz Meier 9 years ago
parent
commit
6b7142469a
  1. 6
      src/drivers/l3gd20/l3gd20.cpp

6
src/drivers/l3gd20/l3gd20.cpp

@ -426,9 +426,9 @@ L3GD20::L3GD20(int bus, const char *path, spi_dev_e device, enum Rotation rotati @@ -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),

Loading…
Cancel
Save