mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
ArduSub: split AP_HAL_SITL and HAL_SIM_ENABLED
This commit is contained in:
parent
d93449ac28
commit
07b299997d
@ -521,7 +521,7 @@ const AP_Param::Info Sub::var_info[] = {
|
|||||||
GOBJECT(can_mgr, "CAN_", AP_CANManager),
|
GOBJECT(can_mgr, "CAN_", AP_CANManager),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if AP_SIM_ENABLED
|
||||||
GOBJECT(sitl, "SIM_", SITL::SIM),
|
GOBJECT(sitl, "SIM_", SITL::SIM),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user