From b4ecc347d7592a116adbe2b42b821f7d8200b519 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 5 Sep 2018 06:54:37 +1000 Subject: [PATCH] AP_HAL: always define HAL_WITH_UAVCAN on px4 --- libraries/AP_HAL/board/px4.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL/board/px4.h b/libraries/AP_HAL/board/px4.h index 3db60721c5c72..dafafd8668379 100644 --- a/libraries/AP_HAL/board/px4.h +++ b/libraries/AP_HAL/board/px4.h @@ -141,6 +141,10 @@ #define AP_FEATURE_SBUS_OUT 1 #endif +#ifndef HAL_WITH_UAVCAN +#define HAL_WITH_UAVCAN 0 +#endif + #include #define HAL_Semaphore PX4::Semaphore #define HAL_Semaphore_Recursive PX4::Semaphore_Recursive