mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 16:18:52 +08:00
HMC: Use shorter perf names
This commit is contained in:
@@ -362,10 +362,10 @@ HMC5883::HMC5883(device::Device *interface, const char *path, enum Rotation rota
|
||||
_orb_class_instance(-1),
|
||||
_mag_topic(nullptr),
|
||||
_sample_perf(perf_alloc(PC_ELAPSED, "hmc5883_read")),
|
||||
_comms_errors(perf_alloc(PC_COUNT, "hmc5883_comms_errors")),
|
||||
_buffer_overflows(perf_alloc(PC_COUNT, "hmc5883_buffer_overflows")),
|
||||
_range_errors(perf_alloc(PC_COUNT, "hmc5883_range_errors")),
|
||||
_conf_errors(perf_alloc(PC_COUNT, "hmc5883_conf_errors")),
|
||||
_comms_errors(perf_alloc(PC_COUNT, "hmc5883_com_err")),
|
||||
_buffer_overflows(perf_alloc(PC_COUNT, "hmc5883_buf_of")),
|
||||
_range_errors(perf_alloc(PC_COUNT, "hmc5883_rng_err")),
|
||||
_conf_errors(perf_alloc(PC_COUNT, "hmc5883_conf_err")),
|
||||
_sensor_ok(false),
|
||||
_calibrated(false),
|
||||
_rotation(rotation),
|
||||
|
||||
Reference in New Issue
Block a user