From 15427bec58cd0891deba6ddfff7f913251a30a87 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 28 Mar 2016 13:05:47 +0200 Subject: [PATCH] Trone: Use shorter perf names --- src/drivers/trone/trone.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/drivers/trone/trone.cpp b/src/drivers/trone/trone.cpp index e3b77fb19c..3ec40c624d 100644 --- a/src/drivers/trone/trone.cpp +++ b/src/drivers/trone/trone.cpp @@ -242,9 +242,9 @@ TRONE::TRONE(int bus, int address) : _class_instance(-1), _orb_class_instance(-1), _distance_sensor_topic(nullptr), - _sample_perf(perf_alloc(PC_ELAPSED, "trone_read")), - _comms_errors(perf_alloc(PC_COUNT, "trone_comms_errors")), - _buffer_overflows(perf_alloc(PC_COUNT, "trone_buffer_overflows")) + _sample_perf(perf_alloc(PC_ELAPSED, "tr1_read")), + _comms_errors(perf_alloc(PC_COUNT, "tr1_com_err")), + _buffer_overflows(perf_alloc(PC_COUNT, "tr1_buf_of")) { // up the retries since the device misses the first measure attempts I2C::_retries = 3;