Skip to content
Snippets Groups Projects
Commit c7cc5638 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

SF0X: use shorter perf names

parent 6e34e0ac
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment