projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Only deque from the USBtoSerial's USB->USART buffer when the USART is idle.
[pub/USBasp.git]
/
Demos
/
Device
/
LowLevel
/
BulkVendor
/
BulkVendor.c
diff --git
a/Demos/Device/LowLevel/BulkVendor/BulkVendor.c
b/Demos/Device/LowLevel/BulkVendor/BulkVendor.c
index
0a395b3
..
14d0982
100644
(file)
--- a/
Demos/Device/LowLevel/BulkVendor/BulkVendor.c
+++ b/
Demos/Device/LowLevel/BulkVendor/BulkVendor.c
@@
-53,6
+53,7
@@
int main(void)
USB_USBTask();
uint8_t ReceivedData[VENDOR_IO_EPSIZE];
+ memset(ReceivedData, 0x00, sizeof(ReceivedData));
Endpoint_SelectEndpoint(VENDOR_OUT_EPADDR);
if (Endpoint_IsOUTReceived())