]> the.earth.li Git - energenie-attiny.git/blobdiff - usbconfig.h
Use serial number as base address + report in USB descriptor
[energenie-attiny.git] / usbconfig.h
index 656ddb886ece1085b93acdf0a94b8f6f044e7bc6..5337edb0f3ccf0737daff9a651f65d1515087ef5 100644 (file)
@@ -352,7 +352,7 @@ section at the end of this file).
 #define USB_CFG_DESCR_PROPS_STRING_0                0
 #define USB_CFG_DESCR_PROPS_STRING_VENDOR           0
 #define USB_CFG_DESCR_PROPS_STRING_PRODUCT          0
-#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    0
+#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    (USB_PROP_IS_DYNAMIC | USB_PROP_IS_RAM)
 #define USB_CFG_DESCR_PROPS_HID                     0
 #define USB_CFG_DESCR_PROPS_HID_REPORT              0
 #define USB_CFG_DESCR_PROPS_UNKNOWN                 0