AP_UAVCAN: Use HAL_ENABLE_LIBUAVCAN_DRIVERS instead of HAL_MAX_CAN_PROTOCOL_DRIVERS

This commit is contained in:
Siddharth Purohit 2021-06-20 16:21:19 +05:30 committed by Peter Barker
parent 69cc0b4615
commit 9494a439ec

View File

@ -17,7 +17,7 @@
#pragma once
#include <AP_HAL/AP_HAL.h>
#if HAL_MAX_CAN_PROTOCOL_DRIVERS
#if HAL_ENABLE_LIBUAVCAN_DRIVERS
#include <uavcan/uavcan.hpp>