Clarify comment on copying usbsn
This commit is contained in:
parent
0a883973a2
commit
74cbb51ef5
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue