AP_HAL: enable up to 3 CAN callbacks

This commit is contained in:
Andrew Tridgell 2024-11-30 14:57:37 +11:00
parent 6596269ae6
commit 41e7c3a31a

View File

@ -273,8 +273,8 @@ protected:
#ifndef HAL_BOOTLOADER_BUILD #ifndef HAL_BOOTLOADER_BUILD
HAL_Semaphore sem; HAL_Semaphore sem;
#endif #endif
// allow up to 2 callbacks per interface // allow up to 3 callbacks per interface
FrameCb cb[2]; FrameCb cb[3];
} callbacks; } callbacks;
uint32_t bitrate_; uint32_t bitrate_;