* 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:
Theodore A. Roth 2003-03-24 02:37:33 +00:00
parent 071e80222c
commit 67d3986349
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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--;