mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 16:53:33 +08:00
MB12xx: Fix initialiser order in class
This commit is contained in:
@@ -196,8 +196,8 @@ MB12XX::MB12XX(int bus, int address) :
|
|||||||
_sensor_ok(false),
|
_sensor_ok(false),
|
||||||
_measure_ticks(0),
|
_measure_ticks(0),
|
||||||
_collect_phase(false),
|
_collect_phase(false),
|
||||||
_range_finder_topic(-1),
|
|
||||||
_class_instance(-1),
|
_class_instance(-1),
|
||||||
|
_range_finder_topic(-1),
|
||||||
_sample_perf(perf_alloc(PC_ELAPSED, "mb12xx_read")),
|
_sample_perf(perf_alloc(PC_ELAPSED, "mb12xx_read")),
|
||||||
_comms_errors(perf_alloc(PC_COUNT, "mb12xx_comms_errors")),
|
_comms_errors(perf_alloc(PC_COUNT, "mb12xx_comms_errors")),
|
||||||
_buffer_overflows(perf_alloc(PC_COUNT, "mb12xx_buffer_overflows"))
|
_buffer_overflows(perf_alloc(PC_COUNT, "mb12xx_buffer_overflows"))
|
||||||
|
|||||||
Reference in New Issue
Block a user