diff options
author | AJM <poslathian@poslathian.(none)> | 2010-12-13 23:46:36 -0500 |
---|---|---|
committer | AJM <poslathian@poslathian.(none)> | 2010-12-13 23:46:36 -0500 |
commit | 125cbc814bc032ba217e8c10e0ceb43981126ce3 (patch) | |
tree | 612f65862fefb39ef8da94b865e84564bf5e503c /libmaple/usb/usb_config.h | |
parent | ef3fcf8b3ed17540a4a931525afee8168852c48c (diff) | |
download | librambutan-125cbc814bc032ba217e8c10e0ceb43981126ce3.tar.gz librambutan-125cbc814bc032ba217e8c10e0ceb43981126ce3.zip |
enlarged rx buffer and nak when less than 64 bytes is left in packet buf
Diffstat (limited to 'libmaple/usb/usb_config.h')
-rw-r--r-- | libmaple/usb/usb_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmaple/usb/usb_config.h b/libmaple/usb/usb_config.h index ba05d42..e5f3979 100644 --- a/libmaple/usb/usb_config.h +++ b/libmaple/usb/usb_config.h @@ -26,6 +26,7 @@ #define VCOM_RX_EPNUM 0x03 #define VCOM_RX_ADDR 0x110 #define VCOM_RX_EPSIZE 0x40 +#define VCOM_RX_BUFLEN (VCOM_RX_EPSIZE*3) #define bMaxPacketSize 0x40 /* 64B, maximum for USB FS Devices */ |