aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-06-23 09:38:22 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-06-23 09:38:22 +0000
commitb2cf4d32221075c96a7487b1fc0baa2598d373fe (patch)
tree593932d38a3b0edd51d95530ff4afeec5ba6588e /Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h
parent64937a62062368504cc9982d15a7d332566d8fac (diff)
downloadlufa-b2cf4d32221075c96a7487b1fc0baa2598d373fe.tar.gz
lufa-b2cf4d32221075c96a7487b1fc0baa2598d373fe.tar.bz2
lufa-b2cf4d32221075c96a7487b1fc0baa2598d373fe.zip
Oops - SCSI INQUIRY data uses fixed-length, non-terminated strings -- need to copy the strings to a temp buffer and terminate before using them in printf.
Diffstat (limited to 'Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h')
-rw-r--r--Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h
index a299b7008..a5b84c2eb 100644
--- a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h
+++ b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.h
@@ -43,6 +43,7 @@
#include <avr/power.h>
#include <stdio.h>
#include <ctype.h>
+ #include <string.h>
#include "ConfigDescriptor.h"