From 12ecb4354bb9b36a4d1882b7dcec1baf8435b8c0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 7 Apr 2023 16:39:17 +1000 Subject: [PATCH] AP_HAL: allow for 64 bit CAN on Linux --- libraries/AP_HAL/board/linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL/board/linux.h b/libraries/AP_HAL/board/linux.h index 989b768c53..58e714b1f7 100644 --- a/libraries/AP_HAL/board/linux.h +++ b/libraries/AP_HAL/board/linux.h @@ -397,7 +397,7 @@ #define HAL_GYROFFT_ENABLED 0 #endif -#if (CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NONE) && HAL_FORCE_32BIT +#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NONE // we can use virtual CAN on native builds #define HAL_LINUX_USE_VIRTUAL_CAN 1 #else