AP_CANManager: correct gate on definition of AP_CANManager class

This commit is contained in:
Peter Barker 2023-04-18 18:06:53 +10:00 committed by Peter Barker
parent ddcfe5e734
commit ce00251333
1 changed files with 3 additions and 3 deletions

View File

@ -19,9 +19,9 @@
#include "AP_CANManager_config.h"
#include <AP_HAL/AP_HAL.h>
#if HAL_CANMANAGER_ENABLED
#if HAL_MAX_CAN_PROTOCOL_DRIVERS
#include <AP_HAL/AP_HAL.h>
#include <AP_Param/AP_Param.h>
#include "AP_SLCANIface.h"
@ -198,4 +198,4 @@ namespace AP
AP_CANManager& can();
}
#endif
#endif // HAL_CANMANAGER_ENABLED