aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaut VIARD <thibaut.viard@atmel.com>2012-03-29 21:11:05 +0200
committerThibaut VIARD <thibaut.viard@atmel.com>2012-03-29 21:11:05 +0200
commitda1a7d4c677bfe2e10d4b6aeef60fec85dd6bcb8 (patch)
treedde29a90a5185a1ec76c8e09293abebf881a51dc
parent8581ce0530fb9daff2edfaed13f0a937d8c24ff9 (diff)
[sam] prelimanary work on USB Device stack
-rw-r--r--cores/arduino/USBCore.cpp2
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();