mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Sub: add exception for linux boards when setting BARO_EXT_BUS
This commit is contained in:
parent
34b42d8252
commit
0adc4562ad
@ -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
Block a user