AP_Baro: re-order initialiser lines so -Werror=reorder will work

This commit is contained in:
Peter Barker 2024-09-21 15:21:57 +10:00 committed by Peter Barker
parent a40b3879fb
commit 68e003fd74
1 changed files with 2 additions and 2 deletions

View File

@ -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();