Extend the comment for the serial number function
Hint that it is actually a function pointer rather than a serial number itself (in whatever form).
This commit is contained in:
parent
06e999b8c5
commit
b6d50ef0a9
|
@ -1569,7 +1569,7 @@ int jtag3_open_common(PROGRAMMER *pgm, const char *port) {
|
|||
pmsg_notice("found CMSIS-DAP compliant device, using EDBG protocol\n");
|
||||
}
|
||||
|
||||
// Get USB serial number
|
||||
// Get USB serial number function if function pointer is present
|
||||
if (serial_serno)
|
||||
pgm->usbsn = serial_serno();
|
||||
|
||||
|
|
|
@ -1578,7 +1578,7 @@ static int stk500v2_open(PROGRAMMER *pgm, const char *port) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
// Get USB serial number
|
||||
// Get USB serial number function if function pointer is present
|
||||
if (serial_serno)
|
||||
pgm->usbsn = serial_serno();
|
||||
|
||||
|
|
Loading…
Reference in New Issue