diff --git a/jtag3.c b/jtag3.c index 80e028e4..74bc74ad 100644 --- a/jtag3.c +++ b/jtag3.c @@ -1476,7 +1476,7 @@ int jtag3_open_common(PROGRAMMER * pgm, char * port) return -1; #endif - if (matches(port, "usb")) { + if (!matches(port, "usb")) { avrdude_message(MSG_INFO, "%s: jtag3_open_common(): JTAGICE3/EDBG port names must start with \"usb\"\n", progname); return -1;