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.

This commit is contained in:
Dean Camera 2009-06-23 09:38:22 +00:00
parent 64937a6206
commit b2cf4d3222
2 changed files with 11 additions and 1 deletions

View file

@ -43,6 +43,7 @@
#include <avr/power.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include "ConfigDescriptor.h"