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
|
constructor - registers instance at top Baro driver
|
||||||
*/
|
*/
|
||||||
AP_Baro_SITL::AP_Baro_SITL(AP_Baro &baro) :
|
AP_Baro_SITL::AP_Baro_SITL(AP_Baro &baro) :
|
||||||
|
AP_Baro_Backend(baro),
|
||||||
_sitl(AP::sitl()),
|
_sitl(AP::sitl()),
|
||||||
_has_sample(false),
|
_has_sample(false)
|
||||||
AP_Baro_Backend(baro)
|
|
||||||
{
|
{
|
||||||
if (_sitl != nullptr) {
|
if (_sitl != nullptr) {
|
||||||
_instance = _frontend.register_sensor();
|
_instance = _frontend.register_sensor();
|
||||||
|
|
Loading…
Reference in New Issue