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:
parent
060f870bfe
commit
e457898255
6
main.c
6
main.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue