From fdf57e14a1eb181f770ef17bb6285b158f725710 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 28 Mar 2016 13:03:25 +0200 Subject: [PATCH] Use shorter perf names for MB12xx --- src/drivers/mb12xx/mb12xx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/mb12xx/mb12xx.cpp b/src/drivers/mb12xx/mb12xx.cpp index 39f151f1d6..9a6fa36d79 100644 --- a/src/drivers/mb12xx/mb12xx.cpp +++ b/src/drivers/mb12xx/mb12xx.cpp @@ -214,8 +214,8 @@ MB12XX::MB12XX(int bus, int address) : _orb_class_instance(-1), _distance_sensor_topic(nullptr), _sample_perf(perf_alloc(PC_ELAPSED, "mb12xx_read")), - _comms_errors(perf_alloc(PC_COUNT, "mb12xx_comms_errors")), - _buffer_overflows(perf_alloc(PC_COUNT, "mb12xx_buffer_overflows")), + _comms_errors(perf_alloc(PC_COUNT, "mb12xx_com_err")), + _buffer_overflows(perf_alloc(PC_COUNT, "mb12xx_buf_of")), _cycle_counter(0), /* initialising counter for cycling function to zero */ _cycling_rate(0), /* initialising cycling rate (which can differ depending on one sonar or multiple) */ _index_counter(0) /* initialising temp sonar i2c address to zero */