mirror of https://github.com/ArduPilot/ardupilot
AP_PiccoloCAN: Change #ifdef guard to prevent compiler error
This commit is contained in:
parent
fc29e40463
commit
21ffc0f663
|
@ -54,7 +54,7 @@ const AP_Param::GroupInfo AP_CANManager::CANDriver_Params::var_info[] = {
|
|||
AP_SUBGROUPPTR(_testcan, "TST_", 4, AP_CANManager::CANDriver_Params, CANTester),
|
||||
#endif
|
||||
|
||||
#if (APM_BUILD_TYPE(APM_BUILD_ArduCopter) || APM_BUILD_TYPE(APM_BUILD_ArduPlane) || APM_BUILD_TYPE(APM_BUILD_ArduSub))
|
||||
#if HAL_PICCOLO_CAN_ENABLE
|
||||
// @Group: PC_
|
||||
// @Path: ../AP_PiccoloCAN/AP_PiccoloCAN.cpp
|
||||
AP_SUBGROUPPTR(_piccolocan, "PC_", 5, AP_CANManager::CANDriver_Params, AP_PiccoloCAN),
|
||||
|
|
Loading…
Reference in New Issue