mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: fixed SLCAN duplicate define
This commit is contained in:
parent
70fb79c349
commit
bdbcdfce60
|
@ -245,7 +245,7 @@
|
||||||
#define HAL_HAVE_DUAL_USB_CDC 0
|
#define HAL_HAVE_DUAL_USB_CDC 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAL_NUM_CAN_IFACES && CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
#if HAL_NUM_CAN_IFACES && CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS && !defined(AP_CAN_SLCAN_ENABLED)
|
||||||
#define AP_CAN_SLCAN_ENABLED 1
|
#define AP_CAN_SLCAN_ENABLED 1
|
||||||
#else
|
#else
|
||||||
#define AP_CAN_SLCAN_ENABLED 0
|
#define AP_CAN_SLCAN_ENABLED 0
|
||||||
|
|
Loading…
Reference in New Issue