mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
AP_HAL: cleanup ifdefs for SLCAN enable
This commit is contained in:
parent
0eb9a58f17
commit
83bacfa89c
@ -226,3 +226,9 @@
|
||||
#ifndef HAL_HAVE_DUAL_USB_CDC
|
||||
#define HAL_HAVE_DUAL_USB_CDC 0
|
||||
#endif
|
||||
|
||||
#if HAL_WITH_UAVCAN && !HAL_MINIMIZE_FEATURES && CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
||||
#define AP_UAVCAN_SLCAN_ENABLED 1
|
||||
#else
|
||||
#define AP_UAVCAN_SLCAN_ENABLED 0
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user