diff options
author | Martino Facchin <m.facchin@arduino.cc> | 2015-10-13 15:13:31 +0200 |
---|---|---|
committer | Martino Facchin <m.facchin@arduino.cc> | 2015-10-21 15:23:56 +0200 |
commit | ced062988bf0df175e54b77b658132685100b350 (patch) | |
tree | 5c95d5a374af46ed508e9b05870e6a658f38c3f4 /cores/arduino/USBDesc.h | |
parent | f42b26c257859f1b76094972727c4ebc2b412a62 (diff) |
[USB] use plugged modules name to create iSerial field
Diffstat (limited to 'cores/arduino/USBDesc.h')
-rw-r--r-- | cores/arduino/USBDesc.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cores/arduino/USBDesc.h b/cores/arduino/USBDesc.h index 4b9cf66..c0dce07 100644 --- a/cores/arduino/USBDesc.h +++ b/cores/arduino/USBDesc.h @@ -24,6 +24,8 @@ #define USB_ENDPOINTS 5 // AtMegaxxU2 #endif +#define ISERIAL_MAX_LEN 20 + #define CDC_INTERFACE_COUNT 2 #define CDC_ENPOINT_COUNT 3 @@ -39,6 +41,6 @@ #define CDC_RX CDC_ENDPOINT_OUT #define CDC_TX CDC_ENDPOINT_IN -#define IMANUFACTURER 1 -#define IPRODUCT 2 - +#define IMANUFACTURER 1 +#define IPRODUCT 2 +#define ISERIAL 3
\ No newline at end of file |