mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: enable virtual CAN for native built linux targets
This commit is contained in:
parent
d0b79959e7
commit
10fb5d6b21
|
@ -396,3 +396,10 @@
|
|||
#ifndef HAL_GYROFFT_ENABLED
|
||||
#define HAL_GYROFFT_ENABLED 0
|
||||
#endif
|
||||
|
||||
#if (CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NONE) && HAL_FORCE_32BIT
|
||||
// we can use virtual CAN on native builds
|
||||
#define HAL_LINUX_USE_VIRTUAL_CAN 1
|
||||
#else
|
||||
#define HAL_LINUX_USE_VIRTUAL_CAN 0
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue