Skip to content

Commit b97b251

Browse files
committed
Added missing static inline to USB Recv function
1 parent 3448973 commit b97b251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/arduino/avr/cores/arduino/USBCore.cpp

+1-1
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)