usb_canbus: Increase rx canbus packet buffer to 32

A buffer of only 8 canbus packets is only 64 bytes of data, which
could be exceeded if the usb-to-canbus mcu gets busy doing other work.
Increase the buffer to 32 packets.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2023-04-14 14:51:48 -04:00
parent 8b2074e068
commit f10c60eea7
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ static struct usbcan_data {
// Data from physical canbus interface
uint32_t pull_pos, push_pos;
struct canbus_msg queue[8];
struct canbus_msg queue[32];
} UsbCan;
enum {