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

SRF02: Use shorter perf names

parent 90f731a1
No related branches found
No related tags found
No related merge requests found
......@@ -213,8 +213,8 @@ SRF02::SRF02(int bus, int address) :
_orb_class_instance(-1),
_distance_sensor_topic(nullptr),
_sample_perf(perf_alloc(PC_ELAPSED, "srf02_read")),
_comms_errors(perf_alloc(PC_COUNT, "srf02_comms_errors")),
_buffer_overflows(perf_alloc(PC_COUNT, "srf02_buffer_overflows")),
_comms_errors(perf_alloc(PC_COUNT, "srf02_com_err")),
_buffer_overflows(perf_alloc(PC_COUNT, "srf02_buf_of")),
_cycle_counter(0), /* initialising counter for cycling function to zero */
_cycling_rate(0), /* initialising cycling rate (which can differ depending on one sonar or multiple) */
_index_counter(0) /* initialising temp sonar i2c address to zero */
......
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