mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2026-11-17 02:25:42 +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:
1 parent
06e999b8c5
commit
b6d50ef0a9
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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();
|
||||
|
||||
|
||||
+1
-1
@@ -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