mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 14:35:27 +00:00
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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user