From 1a2c51d6df8247b8b3e25d8f9c617b6a83f94b1b Mon Sep 17 00:00:00 2001 From: Siddharth Purohit Date: Sun, 20 Jun 2021 16:00:28 +0530 Subject: [PATCH] AP_KDECAN: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS --- libraries/AP_KDECAN/AP_KDECAN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_KDECAN/AP_KDECAN.cpp b/libraries/AP_KDECAN/AP_KDECAN.cpp index 6928e00a4c..ea82a4f82a 100644 --- a/libraries/AP_KDECAN/AP_KDECAN.cpp +++ b/libraries/AP_KDECAN/AP_KDECAN.cpp @@ -35,7 +35,7 @@ #if HAL_MAX_CAN_PROTOCOL_DRIVERS extern const AP_HAL::HAL& hal; -#if HAL_ENABLE_LIBUAVCAN_DRIVERS +#if HAL_CANMANAGER_ENABLED #define debug_can(level_debug, fmt, args...) do { AP::can().log_text(level_debug, "KDECAN", fmt, ##args); } while (0) #else #define debug_can(level_debug, fmt, args...)