Fix the size of a response array.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@556 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
a02dc0b11a
commit
f68ed0ca7a
|
@ -542,7 +542,7 @@ static unsigned char jtagmkI_get_baud(long baud)
|
||||||
static int jtagmkI_initialize(PROGRAMMER * pgm, AVRPART * p)
|
static int jtagmkI_initialize(PROGRAMMER * pgm, AVRPART * p)
|
||||||
{
|
{
|
||||||
AVRMEM hfuse;
|
AVRMEM hfuse;
|
||||||
char cmd[1], resp[2];
|
char cmd[1], resp[5];
|
||||||
unsigned char b;
|
unsigned char b;
|
||||||
|
|
||||||
if (!(p->flags & AVRPART_HAS_JTAG)) {
|
if (!(p->flags & AVRPART_HAS_JTAG)) {
|
||||||
|
|
Loading…
Reference in New Issue