AP_BattMonitor: add support for AP_Periph MPPT driver
This commit is contained in:
parent
8ada37edb8
commit
adccc3deb7
@ -5,7 +5,7 @@
|
||||
#include <AP_CANManager/AP_CANSensor.h>
|
||||
|
||||
#ifndef HAL_MPPT_PACKETDIGITAL_CAN_ENABLE
|
||||
#define HAL_MPPT_PACKETDIGITAL_CAN_ENABLE HAL_MAX_CAN_PROTOCOL_DRIVERS && BOARD_FLASH_SIZE > 1024
|
||||
#define HAL_MPPT_PACKETDIGITAL_CAN_ENABLE (!defined(HAL_BUILD_AP_PERIPH) && HAL_MAX_CAN_PROTOCOL_DRIVERS && BOARD_FLASH_SIZE > 1024) || (defined(HAL_BUILD_AP_PERIPH) && defined(HAL_PERIPH_ENABLE_BATTERY_MPPT_PACKETDIGITAL))
|
||||
#endif
|
||||
|
||||
#if HAL_MPPT_PACKETDIGITAL_CAN_ENABLE
|
||||
|
Loading…
Reference in New Issue
Block a user