Increased buffer size and fixedSConstruct

This commit is contained in:
Ingo Ruhnke 2008-04-30 15:49:14 +02:00
parent 1d4a1189db
commit 1c6f13ed68
2 changed files with 2 additions and 2 deletions

View file

@ -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"])

View file

@ -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)
{