Add conflict warning to the AVRISP-MKII Clone project.
[pub/USBasp.git] / Demos / Device / LowLevel / BulkVendor / BulkVendor.c
index 92f526f..8655721 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2013.
+     Copyright (C) Dean Camera, 2015.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2013  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2015  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -53,6 +53,7 @@ int main(void)
                USB_USBTask();
 
                uint8_t ReceivedData[VENDOR_IO_EPSIZE];
                USB_USBTask();
 
                uint8_t ReceivedData[VENDOR_IO_EPSIZE];
+               memset(ReceivedData, 0x00, sizeof(ReceivedData));
 
                Endpoint_SelectEndpoint(VENDOR_OUT_EPADDR);
                if (Endpoint_IsOUTReceived())
 
                Endpoint_SelectEndpoint(VENDOR_OUT_EPADDR);
                if (Endpoint_IsOUTReceived())