parent
60960ba590
commit
bdb4128de3
|
@ -1840,8 +1840,8 @@ void jtagmkII_close(PROGRAMMER * pgm)
|
||||||
|
|
||||||
avrdude_message(MSG_NOTICE2, "%s: jtagmkII_close()\n", progname);
|
avrdude_message(MSG_NOTICE2, "%s: jtagmkII_close()\n", progname);
|
||||||
|
|
||||||
if (pgm->flag & PGM_FL_IS_PDI) {
|
if (pgm->flag & (PGM_FL_IS_PDI | PGM_FL_IS_JTAG)) {
|
||||||
/* When in PDI mode, restart target. */
|
/* When in PDI or JTAG mode, restart target. */
|
||||||
buf[0] = CMND_GO;
|
buf[0] = CMND_GO;
|
||||||
avrdude_message(MSG_NOTICE2, "%s: jtagmkII_close(): Sending GO command: ",
|
avrdude_message(MSG_NOTICE2, "%s: jtagmkII_close(): Sending GO command: ",
|
||||||
progname);
|
progname);
|
||||||
|
|
Loading…
Reference in New Issue