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
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_;