From 41e7c3a31a829c5d5a9fdfea10e46c2319867a85 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 30 Nov 2024 14:57:37 +1100 Subject: [PATCH] AP_HAL: enable up to 3 CAN callbacks --- libraries/AP_HAL/CANIface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL/CANIface.h b/libraries/AP_HAL/CANIface.h index b92274a6a5..629432bd1f 100644 --- a/libraries/AP_HAL/CANIface.h +++ b/libraries/AP_HAL/CANIface.h @@ -273,8 +273,8 @@ protected: #ifndef HAL_BOOTLOADER_BUILD HAL_Semaphore sem; #endif - // allow up to 2 callbacks per interface - FrameCb cb[2]; + // allow up to 3 callbacks per interface + FrameCb cb[3]; } callbacks; uint32_t bitrate_;