From e45789825592b87a058c16303d45829309924a13 Mon Sep 17 00:00:00 2001 From: bdean Date: Sat, 14 May 2005 14:49:39 +0000 Subject: [PATCH] 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 --- main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index c222595e..fa3314f0 100644 --- a/main.c +++ b/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; }