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:
parent
64937a6206
commit
b2cf4d3222
2 changed files with 11 additions and 1 deletions
|
|
@ -43,6 +43,7 @@
|
|||
#include <avr/power.h>
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "ConfigDescriptor.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue