mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-13 09:24:55 +00:00
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:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user