From c7cc563832f746365bff6b4f1c4a4fa822458d94 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 28 Mar 2016 13:05:07 +0200 Subject: [PATCH] SF0X: use shorter perf names --- src/drivers/sf0x/sf0x.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/sf0x/sf0x.cpp b/src/drivers/sf0x/sf0x.cpp index 41730618b2..de5dca4a9d 100644 --- a/src/drivers/sf0x/sf0x.cpp +++ b/src/drivers/sf0x/sf0x.cpp @@ -203,8 +203,8 @@ SF0X::SF0X(const char *port) : _distance_sensor_topic(nullptr), _consecutive_fail_count(0), _sample_perf(perf_alloc(PC_ELAPSED, "sf0x_read")), - _comms_errors(perf_alloc(PC_COUNT, "sf0x_comms_errors")), - _buffer_overflows(perf_alloc(PC_COUNT, "sf0x_buffer_overflows")) + _comms_errors(perf_alloc(PC_COUNT, "sf0x_com_err")), + _buffer_overflows(perf_alloc(PC_COUNT, "sf0x_buf_of")) { /* store port name */ strncpy(_port, port, sizeof(_port));