Make the device code received unsigned, so it wouldn't sign-extend if

it is beyond 0x80.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@517 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2005-09-19 14:22:30 +00:00
parent 9823296d6f
commit 71aa89490e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-09-19 Joerg Wunsch <j@uriah.heep.sax.de>
* butterfly.c (butterfly_initialize): make the device code unsigned so
it wouldn't sign-extend when >= 0x80.
2005-09-18 Joerg Wunsch <j@uriah.heep.sax.de> 2005-09-18 Joerg Wunsch <j@uriah.heep.sax.de>
Add the serial bit-bang driver, contributed by Michael Holzt. Add the serial bit-bang driver, contributed by Michael Holzt.

View File

@ -226,7 +226,7 @@ static int butterfly_initialize(PROGRAMMER * pgm, AVRPART * p)
char hw[2]; char hw[2];
char buf[10]; char buf[10];
char type; char type;
char c; unsigned char c;
int dev_supported = 0; int dev_supported = 0;
no_show_func_info(); no_show_func_info();