mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 04:43:33 +08:00
clang-tidy remove redundant init
This commit is contained in:
@@ -248,7 +248,6 @@ Sensors *g_sensors = nullptr;
|
||||
}
|
||||
|
||||
Sensors::Sensors(bool hil_enabled) :
|
||||
_h_adc(),
|
||||
_last_adc(0),
|
||||
|
||||
_task_should_exit(true),
|
||||
@@ -270,7 +269,6 @@ Sensors::Sensors(bool hil_enabled) :
|
||||
|
||||
/* performance counters */
|
||||
_loop_perf(perf_alloc(PC_ELAPSED, "sensors")),
|
||||
_airspeed_validator(),
|
||||
|
||||
_rc_update(_parameters),
|
||||
_voted_sensors_update(_parameters, hil_enabled)
|
||||
|
||||
Reference in New Issue
Block a user