mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 06:55:27 +00:00
Clarify comment on copying usbsn
This commit is contained in:
@@ -1569,7 +1569,7 @@ int jtag3_open_common(PROGRAMMER *pgm, const char *port) {
|
|||||||
pmsg_notice("found CMSIS-DAP compliant device, using EDBG protocol\n");
|
pmsg_notice("found CMSIS-DAP compliant device, using EDBG protocol\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy over pointer to USB serial number function
|
// Make USB serial number available to programmer
|
||||||
if (serdev && serdev->usbsn)
|
if (serdev && serdev->usbsn)
|
||||||
pgm->usbsn = serdev->usbsn;
|
pgm->usbsn = serdev->usbsn;
|
||||||
|
|
||||||
|
@@ -1578,7 +1578,7 @@ static int stk500v2_open(PROGRAMMER *pgm, const char *port) {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy over pointer to USB serial number function
|
// Make USB serial number available to programmer
|
||||||
if (serdev && serdev->usbsn)
|
if (serdev && serdev->usbsn)
|
||||||
pgm->usbsn = serdev->usbsn;
|
pgm->usbsn = serdev->usbsn;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user