mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 01:13:33 +08:00
SF10a: Use shorter perf names
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user