From b39c5ec739a2e02ba34739190aa7ab07bfa624bb Mon Sep 17 00:00:00 2001 From: Christian Starkjohann Date: Sat, 3 May 2008 14:00:19 +0000 Subject: - use usbMsgLen_t instead of uchar to allow long transfer sizes --- tests/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/main.c b/tests/main.c index 2a5968c..44e32d6 100644 --- a/tests/main.c +++ b/tests/main.c @@ -111,7 +111,7 @@ static PROGMEM char myDescriptorConfiguration[] = { /* USB configuration descrip #endif }; -uchar usbFunctionDescriptor(usbRequest_t *rq) +USB_PUBLIC usbMsgLen_t usbFunctionDescriptor(usbRequest_t *rq) { uchar *p = 0, len = 0; @@ -127,7 +127,7 @@ uchar *p = 0, len = 0; } #endif -USB_PUBLIC uchar usbFunctionSetup(uchar data[8]) +USB_PUBLIC usbMsgLen_t usbFunctionSetup(uchar data[8]) { usbRequest_t *rq = (void *)data; -- cgit v1.2.3