* ser_posix.c: Limit verbose output to 2 chars.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@298 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
071e80222c
commit
67d3986349
|
@ -1,3 +1,7 @@
|
|||
2003-03-23 Theodore A. Roth <troth@openavr.org>
|
||||
|
||||
* ser_posix.c: Limit verbose output to 2 chars.
|
||||
|
||||
2003-03-23 Theodore A. Roth <troth@openavr.org>
|
||||
|
||||
* ser_posix.c: Add verbose level > 3 output for send and recv functions.
|
||||
|
|
|
@ -175,7 +175,7 @@ int serial_send(int fd, char * buf, size_t buflen)
|
|||
else {
|
||||
fprintf(stderr, ". ");
|
||||
}
|
||||
fprintf(stderr, "[%02x] ", (unsigned int)c);
|
||||
fprintf(stderr, "[%02x] ", ((unsigned int)c) & 0xff);
|
||||
|
||||
buf++;
|
||||
buflen--;
|
||||
|
|
Loading…
Reference in New Issue