mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-06-02 09:46:34 +03:00
Warn that -P option is ignored for ch341a
This commit is contained in:
@@ -201,7 +201,9 @@ static int ch341a_open(PROGRAMMER *pgm, const char *port) {
|
||||
int errorCode = USB_ERROR_NOTFOUND;
|
||||
libusb_device_handle *handle = NULL;
|
||||
|
||||
pmsg_trace("ch341a_open(\"%s\")\n", port);
|
||||
pmsg_debug("%s(\"%s\")\n", __func__, port);
|
||||
if(!str_eq(port, "usb"))
|
||||
pmsg_warning("option -P %s ignored\n", port);
|
||||
|
||||
if(!my.USB_init) {
|
||||
my.USB_init = 1;
|
||||
|
||||
Reference in New Issue
Block a user