SF10a: Use shorter perf names

This commit is contained in:
Lorenz Meier
2016-03-28 13:05:22 +02:00
parent c7cc563832
commit 90f731a134
+2 -2
View File
@@ -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 */