X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/e368a899871fe9ecccdcac85019d15c73e13ced7..d90ef9aa2f97a5f8b5fd2cf0bd9564025d069f6e:/Demos/Device/LowLevel/BulkVendor/BulkVendor.c?ds=inline 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())