mirror of https://github.com/ArduPilot/ardupilot
Sub: add exception for linux boards when setting BARO_EXT_BUS
This commit is contained in:
parent
2d5d6171d7
commit
16db1234d4
|
@ -49,7 +49,7 @@ void Sub::init_ardupilot()
|
||||||
AP_Param::set_default_by_name("BARO_EXT_BUS", 1);
|
AP_Param::set_default_by_name("BARO_EXT_BUS", 1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#else
|
#elif CONFIG_HAL_BOARD != HAL_BOARD_LINUX
|
||||||
AP_Param::set_default_by_name("BARO_EXT_BUS", 1);
|
AP_Param::set_default_by_name("BARO_EXT_BUS", 1);
|
||||||
#endif
|
#endif
|
||||||
celsius.init(barometer.external_bus());
|
celsius.init(barometer.external_bus());
|
||||||
|
|
Loading…
Reference in New Issue