Increased buffer size and fixedSConstruct
This commit is contained in:
parent
1d4a1189db
commit
1c6f13ed68
2 changed files with 2 additions and 2 deletions
tools
|
@ -1,6 +1,6 @@
|
|||
# -*- python -*-
|
||||
|
||||
env = Environment(CPPFLAGS=["-g", "-O2", "-Wall", "-std=c99"])
|
||||
env = Environment(CPPFLAGS=["-g", "-O2", "-Wall"], CFLAGS=["-std=c99"])
|
||||
env.Program("jstest", ["jstest.c"])
|
||||
env.Program("evtest", ["evtest.c"])
|
||||
env.Program("usbcat", ["usbcat.cpp"], LIBS = ["usb"])
|
||||
|
|
|
@ -95,7 +95,7 @@ cat_usb_device(struct usb_device* dev, int ep)
|
|||
|
||||
while(!quit)
|
||||
{
|
||||
uint8_t data[32];
|
||||
uint8_t data[1024];
|
||||
int ret = usb_interrupt_read(handle, ep, (char*)data, sizeof(data), 0);
|
||||
if (ret < 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue