aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2014-06-07 17:25:10 +1000
committerDean Camera <dean@fourwalledcubicle.com>2014-06-07 17:25:10 +1000
commit22b39703387044d7be9c2b3cb5504abb791fb1a6 (patch)
tree32a67d5f676463253a1f0ac9bcf1ed3bf5dd0216
parent1b93c85b208577dc97771637931d6dd2256cbafe (diff)
downloadlufa-22b39703387044d7be9c2b3cb5504abb791fb1a6.tar.gz
lufa-22b39703387044d7be9c2b3cb5504abb791fb1a6.tar.bz2
lufa-22b39703387044d7be9c2b3cb5504abb791fb1a6.zip
Ensure BulkVendor received data is cleared before reading from host.
-rw-r--r--Demos/Device/LowLevel/BulkVendor/BulkVendor.c1
-rw-r--r--LUFA/DoxygenPages/LUFAPoweredProjects.txt1
2 files changed, 2 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())
diff --git a/LUFA/DoxygenPages/LUFAPoweredProjects.txt b/LUFA/DoxygenPages/LUFAPoweredProjects.txt
index 428d174df..bebd858b3 100644
--- a/LUFA/DoxygenPages/LUFAPoweredProjects.txt
+++ b/LUFA/DoxygenPages/LUFAPoweredProjects.txt
@@ -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