mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-22 17:16:24 +03:00
Utilise magic memory tree interface for src/developer_opts.c
This commit is contained in:
@@ -1374,7 +1374,7 @@ static void dev_pgm_strct(const PROGRAMMER *pgm, bool tsv, const PROGRAMMER *bas
|
||||
for(LNODEID *ln=lfirst(pgm->id); ln; ln=lnext(ln))
|
||||
if(str_casematch(pgminj[i].pgmid, ldata(ln)))
|
||||
dev_part_strct_entry(tsv, ".prog", ldata(ln), NULL,
|
||||
pgminj[i].var, strdup(pgminj[i].value), NULL);
|
||||
pgminj[i].var, mmt_strdup(pgminj[i].value), NULL);
|
||||
|
||||
if(!tsv) {
|
||||
dev_cout(pgm->comments, ";", 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user