mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2026-11-17 18:45:40 +00:00
Add comments with part names to -p*/s output
This commit is contained in:
1 parent
d5d3a0e09e
commit
1549273529
1 file changed
+6
-3
@@ -673,10 +673,13 @@ static void dev_part_raw(AVRPART *part) {
|
||||
|
||||
|
||||
static void dev_part_strct(AVRPART *p, bool tsv, AVRPART *base) {
|
||||
dev_info("# %s %d\n", p->config_file, p->lineno);
|
||||
|
||||
if(!tsv)
|
||||
dev_info("part\n");
|
||||
if(!tsv) {
|
||||
dev_info("#------------------------------------------------------------\n");
|
||||
dev_info("# %s\n", p->desc);
|
||||
dev_info("#------------------------------------------------------------\n");
|
||||
dev_info("\npart\n");
|
||||
}
|
||||
|
||||
_if_partout(strcmp, "\"%s\"", desc);
|
||||
_if_partout(strcmp, "\"%s\"", id);
|
||||
|
||||
Reference in new issue
Block a user