Enable the extra part verbosity when verbosity >= 3.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@124 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean 2002-02-14 02:50:58 +00:00
parent fa956af92c
commit 2653762eb0
1 changed files with 3 additions and 3 deletions

6
avr.c
View File

@ -1056,7 +1056,7 @@ void avr_mem_display(char * prefix, FILE * f, AVRMEM * m, int type,
prefix, prefix, prefix); prefix, prefix, prefix);
} }
else { else {
if (verbose > 1) { if (verbose > 2) {
fprintf(f, fprintf(f,
"%s Page Polled\n" "%s Page Polled\n"
"%sMemory Type Paged Size Size #Pages MinW MaxW ReadBack\n" "%sMemory Type Paged Size Size #Pages MinW MaxW ReadBack\n"
@ -1074,7 +1074,7 @@ void avr_mem_display(char * prefix, FILE * f, AVRMEM * m, int type,
m->max_write_delay, m->max_write_delay,
m->readback[0], m->readback[0],
m->readback[1]); m->readback[1]);
if (verbose > 1) { if (verbose > 2) {
fprintf(stderr, fprintf(stderr,
"%s Memory Ops:\n" "%s Memory Ops:\n"
"%s Oeration Inst Bit Bit Type Bitno Value\n" "%s Oeration Inst Bit Bit Type Bitno Value\n"
@ -1130,7 +1130,7 @@ void avr_display(FILE * f, AVRPART * p, char * prefix, int verbose)
px = buf; px = buf;
} }
if (verbose <= 1) { if (verbose <= 2) {
avr_mem_display(px, f, NULL, 0, verbose); avr_mem_display(px, f, NULL, 0, verbose);
} }
for (ln=lfirst(p->mem); ln; ln=lnext(ln)) { for (ln=lfirst(p->mem); ln; ln=lnext(ln)) {