mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_PiccoloCAN: use minimize_features.inc for more features
This commit is contained in:
parent
1509cfc2b4
commit
179b79a00c
@ -38,7 +38,7 @@
|
|||||||
#define PICCOLO_CAN_MAX_GROUP_SERVO (PICCOLO_CAN_MAX_NUM_SERVO / 4)
|
#define PICCOLO_CAN_MAX_GROUP_SERVO (PICCOLO_CAN_MAX_NUM_SERVO / 4)
|
||||||
|
|
||||||
#ifndef HAL_PICCOLO_CAN_ENABLE
|
#ifndef HAL_PICCOLO_CAN_ENABLE
|
||||||
#define HAL_PICCOLO_CAN_ENABLE (HAL_NUM_CAN_IFACES && !HAL_MINIMIZE_FEATURES)
|
#define HAL_PICCOLO_CAN_ENABLE HAL_NUM_CAN_IFACES
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAL_PICCOLO_CAN_ENABLE
|
#if HAL_PICCOLO_CAN_ENABLE
|
||||||
|
Loading…
Reference in New Issue
Block a user