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:
Joerg Wunsch 2023-01-01 22:36:50 +01:00
parent 06e999b8c5
commit b6d50ef0a9
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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();