AP_PiccoloCAN: Change #ifdef guard to prevent compiler error

This commit is contained in:
Oliver Walters 2020-09-03 10:56:22 +10:00 committed by Andrew Tridgell
parent fc29e40463
commit 21ffc0f663
1 changed files with 1 additions and 1 deletions

View File

@ -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),