From 90f731a13416f3fefb832824ab6e0f4dfc20f262 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 28 Mar 2016 13:05:22 +0200 Subject: [PATCH] SF10a: Use shorter perf names --- src/drivers/sf10a/sf10a.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/sf10a/sf10a.cpp b/src/drivers/sf10a/sf10a.cpp index c61708479d..967aae5176 100644 --- a/src/drivers/sf10a/sf10a.cpp +++ b/src/drivers/sf10a/sf10a.cpp @@ -204,8 +204,8 @@ SF10A::SF10A(int bus, int address) : _orb_class_instance(-1), _distance_sensor_topic(nullptr), _sample_perf(perf_alloc(PC_ELAPSED, "sf10a_read")), - _comms_errors(perf_alloc(PC_COUNT, "sf10a_comms_errors")), - _buffer_overflows(perf_alloc(PC_COUNT, "sf10a_buffer_overflows")) + _comms_errors(perf_alloc(PC_COUNT, "sf10a_com_err")), + _buffer_overflows(perf_alloc(PC_COUNT, "sf10a_buf_of")) { /* enable debug() calls */