mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-16 02:31:06 +00:00
Move hvupdi_support list to a new prog_parm_updi group, and initialize the list.
This commit is contained in:
@@ -1649,6 +1649,15 @@ static int jtag3_open_updi(PROGRAMMER * pgm, char * port)
|
||||
{
|
||||
avrdude_message(MSG_NOTICE2, "%s: jtag3_open_updi()\n", progname);
|
||||
|
||||
LNODEID ln;
|
||||
unsigned int hv_sup;
|
||||
avrdude_message(MSG_NOTICE2, "%s: HV UPDI support:", progname);
|
||||
for (ln = lfirst(pgm->hvupdi_support); ln; ln = lnext(ln)) {
|
||||
hv_sup = (unsigned int)(*(int *)ldata(ln));
|
||||
avrdude_message(MSG_NOTICE2, " %d", hv_sup);
|
||||
}
|
||||
avrdude_message(MSG_NOTICE2, "\n", progname);
|
||||
|
||||
if (jtag3_open_common(pgm, port) < 0)
|
||||
return -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user