Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ardupilot
GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AP_CANManager/AP_CANManager_config.h
9537 views
1
#pragma once
2
3
#include <AP_HAL/AP_HAL_Boards.h>
4
#include <AP_Logger/AP_Logger_config.h>
5
6
#ifndef AP_CAN_SLCAN_ENABLED
7
#define AP_CAN_SLCAN_ENABLED HAL_MAX_CAN_PROTOCOL_DRIVERS
8
#endif
9
10
#ifndef AP_CAN_LOGGING_ENABLED
11
#define AP_CAN_LOGGING_ENABLED HAL_MAX_CAN_PROTOCOL_DRIVERS && HAL_LOGGING_ENABLED
12
#endif
13
14
#ifndef AP_MAVLINKCAN_ENABLED
15
#define AP_MAVLINKCAN_ENABLED (HAL_CANMANAGER_ENABLED && HAL_GCS_ENABLED)
16
#endif // AP_MAVLINKCAN_ENABLED
17
18