diff options
| author | Thibaut VIARD <thibaut.viard@atmel.com> | 2012-03-29 21:11:05 +0200 | 
|---|---|---|
| committer | Thibaut VIARD <thibaut.viard@atmel.com> | 2012-03-29 21:11:05 +0200 | 
| commit | da1a7d4c677bfe2e10d4b6aeef60fec85dd6bcb8 (patch) | |
| tree | dde29a90a5185a1ec76c8e09293abebf881a51dc /cores | |
| parent | 8581ce0530fb9daff2edfaed13f0a937d8c24ff9 (diff) | |
[sam] prelimanary work on USB Device stack
Diffstat (limited to 'cores')
| -rw-r--r-- | cores/arduino/USBCore.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/cores/arduino/USBCore.cpp b/cores/arduino/USBCore.cpp index 398bc73..4c71b34 100644 --- a/cores/arduino/USBCore.cpp +++ b/cores/arduino/USBCore.cpp @@ -230,7 +230,7 @@ int USB_Recv(u8 ep, void* d, int len)  	n = len;  	u8* dst = (u8*)d;  	while (n--) -		*dst++ = Recv8(); +		*dst++ = USBD_Recv8();  	if (len && !FifoByteCount())	// release empty buffer  		ReleaseRX(); | 
