mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: re-order initialiser lines so -Werror=reorder will work
This commit is contained in:
parent
a40b3879fb
commit
68e003fd74
|
@ -11,9 +11,9 @@ extern const AP_HAL::HAL& hal;
|
|||
constructor - registers instance at top Baro driver
|
||||
*/
|
||||
AP_Baro_SITL::AP_Baro_SITL(AP_Baro &baro) :
|
||||
AP_Baro_Backend(baro),
|
||||
_sitl(AP::sitl()),
|
||||
_has_sample(false),
|
||||
AP_Baro_Backend(baro)
|
||||
_has_sample(false)
|
||||
{
|
||||
if (_sitl != nullptr) {
|
||||
_instance = _frontend.register_sensor();
|
||||
|
|
Loading…
Reference in New Issue