Skip to content

Commit 77cc20f

Browse files
committed
Added missing static inline to USB Recv function
1 parent deb59fd commit 77cc20f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/USBCore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ static inline void ClearOUT(void)
110110
UEINTX = ~(1<<RXOUTI);
111111
}
112112

113-
void Recv(volatile u8* data, u8 count)
113+
static inline void Recv(volatile u8* data, u8 count)
114114
{
115115
while (count--)
116116
*data++ = UEDATX;

0 commit comments

Comments
 (0)