diff --git a/src/drivers/hmc5883/hmc5883.cpp b/src/drivers/hmc5883/hmc5883.cpp index 7ea3b55eda..2a68eba6c1 100644 --- a/src/drivers/hmc5883/hmc5883.cpp +++ b/src/drivers/hmc5883/hmc5883.cpp @@ -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),