From 5d8a6d167fbb8acbaf80de219088bcf15380000a Mon Sep 17 00:00:00 2001 From: Siddharth Purohit Date: Sun, 20 Jun 2021 16:09:57 +0530 Subject: [PATCH] AP_ToshibaCAN: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS --- libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp b/libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp index 84652a53b9..5d510c29bc 100644 --- a/libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp +++ b/libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp @@ -31,7 +31,7 @@ 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, "ToshibaCAN", fmt, #args); } while (0) #else #define debug_can(level_debug, fmt, args...)