Ensure BulkVendor received data is cleared before reading from host.
authorDean Camera <dean@fourwalledcubicle.com>
Sat, 7 Jun 2014 07:25:10 +0000 (17:25 +1000)
committerDean Camera <dean@fourwalledcubicle.com>
Sat, 7 Jun 2014 07:25:10 +0000 (17:25 +1000)
Demos/Device/LowLevel/BulkVendor/BulkVendor.c
LUFA/DoxygenPages/LUFAPoweredProjects.txt

index 0a395b3..14d0982 100644 (file)
@@ -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())
index 428d174..bebd858 100644 (file)
@@ -76,6 +76,7 @@
  *  \li Gumbi, a Python library and USB GPIO controller: https://code.google.com/p/gumbi/
  *  \li Hardware Volume Control: https://github.com/davidk/hw-volume-control
  *  \li Hiduino, a USB-MIDI replacement firmware for the Arduino Uno: http://code.google.com/p/hiduino/
+ *  \li IBM capacitive keybord replacement controller: http://downloads.cornall.co/ibm-capsense-usb-web/ibm-capsense-usb.html
  *  \li Ikea RGB LED USB modification: http://slashhome.se/p/projects/id/ikea_dioder_usb/#project
  *  \li IR electricity meter monitor: http://sourceforge.net/projects/irmetermon/
  *  \li IR Remote to Keyboard decoder: http://netzhansa.blogspot.com/2010/04/our-living-room-hi-fi-setup-needs-mp3.html