aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/BulkVendor/BulkVendor.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/LowLevel/BulkVendor/BulkVendor.c')
-rw-r--r--Demos/Device/LowLevel/BulkVendor/BulkVendor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Device/LowLevel/BulkVendor/BulkVendor.c b/Demos/Device/LowLevel/BulkVendor/BulkVendor.c
index 0a395b3d4..14d098285 100644
--- 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())