Change the default port to 'serial' for the newly added serial

programmers stk500v2 and jtagmkii.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@466 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean 2005-05-14 14:49:39 +00:00
parent d8dbc1e4d8
commit d1e25a6921
1 changed files with 4 additions and 2 deletions

6
main.c
View File

@ -1044,8 +1044,10 @@ int main(int argc, char * argv [])
exit(1);
}
if ((strcmp(pgm->type, "STK500") == 0)
|| (strcmp(pgm->type, "avr910") == 0)){
if ((strcmp(pgm->type, "STK500") == 0) ||
(strcmp(pgm->type, "avr910") == 0) ||
(strcmp(pgm->type, "STK500V2") == 0) ||
(strcmp(pgm->type, "JTAGMKII") == 0)) {
if (port == default_parallel) {
port = default_serial;
}