From 54a75d5ef99d297404e1c441854cd984a89dbadc Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 28 Mar 2016 13:02:41 +0200 Subject: [PATCH] HMC: Use shorter perf names --- src/drivers/hmc5883/hmc5883.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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),