mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-08-01 20:27:57 +08:00
Use shorter perf names for L3GD20H
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user