From 34a02fcda9028bc539fdf4b27fdfb37735053e98 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 18 Apr 2023 17:24:17 +1000 Subject: [PATCH] AP_PiccoloCAN: move and rename CAN Driver_Type enumeration --- libraries/AP_PiccoloCAN/AP_PiccoloCAN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_PiccoloCAN/AP_PiccoloCAN.cpp b/libraries/AP_PiccoloCAN/AP_PiccoloCAN.cpp index 339d5a7205..a06e9be98a 100644 --- a/libraries/AP_PiccoloCAN/AP_PiccoloCAN.cpp +++ b/libraries/AP_PiccoloCAN/AP_PiccoloCAN.cpp @@ -118,7 +118,7 @@ AP_PiccoloCAN::AP_PiccoloCAN() AP_PiccoloCAN *AP_PiccoloCAN::get_pcan(uint8_t driver_index) { if (driver_index >= AP::can().get_num_drivers() || - AP::can().get_driver_type(driver_index) != AP_CANManager::Driver_Type_PiccoloCAN) { + AP::can().get_driver_type(driver_index) != AP_CAN::Protocol::PiccoloCAN) { return nullptr; }