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:
parent
8b2074e068
commit
f10c60eea7
|
@ -117,7 +117,7 @@ static struct usbcan_data {
|
||||||
|
|
||||||
// Data from physical canbus interface
|
// Data from physical canbus interface
|
||||||
uint32_t pull_pos, push_pos;
|
uint32_t pull_pos, push_pos;
|
||||||
struct canbus_msg queue[8];
|
struct canbus_msg queue[32];
|
||||||
} UsbCan;
|
} UsbCan;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|
Loading…
Reference in New Issue