From 3a0c30f3935855bb7c5c4aeb232613d89eca16d0 Mon Sep 17 00:00:00 2001 From: Nico Date: Fri, 26 Dec 2014 22:12:24 +0100 Subject: [PATCH] Added static inline for Recv() Seems to be missing here? --- USBCore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/USBCore.cpp b/USBCore.cpp index 82aa372..be38718 100644 --- a/USBCore.cpp +++ b/USBCore.cpp @@ -128,7 +128,7 @@ static inline void ClearOUT(void) UEINTX = ~(1 << RXOUTI); } -void Recv(volatile u8* data, u8 count) +static inline void Recv(volatile u8* data, u8 count) { while (count--) *data++ = UEDATX;