From 6dc73b3d5494a775ebd57e8cf4e80aa994d66888 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Wed, 11 Jan 2023 18:37:17 +1100 Subject: [PATCH] AP_HAL: sitl: set default value of HAL_CAN_DRIVER_DEFAULT as 1 --- libraries/AP_HAL/board/sitl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL/board/sitl.h b/libraries/AP_HAL/board/sitl.h index 883d0a814a..3d288adc25 100644 --- a/libraries/AP_HAL/board/sitl.h +++ b/libraries/AP_HAL/board/sitl.h @@ -72,3 +72,7 @@ #ifndef HAL_WITH_EKF_DOUBLE #define HAL_WITH_EKF_DOUBLE HAL_HAVE_HARDWARE_DOUBLE #endif + +#ifndef HAL_CAN_DRIVER_DEFAULT +#define HAL_CAN_DRIVER_DEFAULT 1 +#endif