mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 15:05:27 +00:00
Added RTS/DTR release message
This commit is contained in:
@@ -185,6 +185,10 @@ static void serialupdi_close(PROGRAMMER * pgm)
|
|||||||
if (serialupdi_leave_progmode(pgm) < 0) {
|
if (serialupdi_leave_progmode(pgm) < 0) {
|
||||||
avrdude_message(MSG_INFO, "%s: Unable to leave NVM programming mode\n", progname);
|
avrdude_message(MSG_INFO, "%s: Unable to leave NVM programming mode\n", progname);
|
||||||
}
|
}
|
||||||
|
if (updi_get_rts_mode(pgm) != RTS_MODE_DEFAULT) {
|
||||||
|
avrdude_message(MSG_INFO, "%s: Releasing DTR/RTS handshake lines\n", progname);
|
||||||
|
}
|
||||||
|
|
||||||
updi_link_close(pgm);
|
updi_link_close(pgm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user