mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 22:45:27 +00:00
Hide two debug/trace statements behind "verbose".
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@653 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
2006-09-07 Joerg Wunsch <j@uriah.heep.sax.de>
|
||||
2006-09-08 Joerg Wunsch <j@uriah.heep.sax.de>
|
||||
|
||||
* fileio.c: CPP statements start in column #1.
|
||||
* stk500v2.c: Hide two debug/trace statements behind "verbose".
|
||||
|
||||
2006-09-07 Joerg Wunsch <j@uriah.heep.sax.de>
|
||||
|
||||
|
@@ -1868,6 +1868,7 @@ static int stk500v2_set_sck_period_mk2(PROGRAMMER * pgm, double v)
|
||||
break;
|
||||
}
|
||||
|
||||
if (verbose > 2)
|
||||
fprintf(stderr, "Using p = %.2f us for SCK (param = %d)\n",
|
||||
1000000 / avrispmkIIfreqs[i], i);
|
||||
|
||||
@@ -1974,7 +1975,7 @@ static int stk500v2_setparm(PROGRAMMER * pgm, unsigned char parm, unsigned char
|
||||
fprintf(stderr, "%s: Unable to get parameter 0x%02x\n", progname, parm);
|
||||
|
||||
// don't issue a write if the correct value is already set.
|
||||
if (value == current_value) {
|
||||
if (value == current_value && verbose > 2) {
|
||||
fprintf(stderr, "%s: Skipping paramter write; parameter value already set.\n", progname);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user