From da1a7d4c677bfe2e10d4b6aeef60fec85dd6bcb8 Mon Sep 17 00:00:00 2001 From: Thibaut VIARD Date: Thu, 29 Mar 2012 21:11:05 +0200 Subject: [sam] prelimanary work on USB Device stack --- cores/arduino/USBCore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores/arduino/USBCore.cpp') 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(); -- cgit v1.2.3-18-g5258