projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use new VERSION_BCD() macro with explicit int arguments to fix edge cases with the...
[pub/USBasp.git]
/
Projects
/
RelayBoard
/
Descriptors.c
diff --git
a/Projects/RelayBoard/Descriptors.c
b/Projects/RelayBoard/Descriptors.c
index
646f7ca
..
604c82f
100644
(file)
--- a/
Projects/RelayBoard/Descriptors.c
+++ b/
Projects/RelayBoard/Descriptors.c
@@
-47,7
+47,7
@@
const USB_Descriptor_Device_t PROGMEM RelayBoard_DeviceDescriptor =
{
.Header = {.Size = sizeof(USB_Descriptor_Device_t), .Type = DTYPE_Device},
{
.Header = {.Size = sizeof(USB_Descriptor_Device_t), .Type = DTYPE_Device},
- .USBSpecification = VERSION_BCD(
01.1
0),
+ .USBSpecification = VERSION_BCD(
1,1,
0),
.Class = USB_CSCP_VendorSpecificClass,
.SubClass = USB_CSCP_NoDeviceSubclass,
.Protocol = USB_CSCP_NoDeviceProtocol,
.Class = USB_CSCP_VendorSpecificClass,
.SubClass = USB_CSCP_NoDeviceSubclass,
.Protocol = USB_CSCP_NoDeviceProtocol,
@@
-56,7
+56,7
@@
const USB_Descriptor_Device_t PROGMEM RelayBoard_DeviceDescriptor =
.VendorID = 0x04B4,
.ProductID = 0xFD11,
.VendorID = 0x04B4,
.ProductID = 0xFD11,
- .ReleaseNumber = VERSION_BCD(
02.0
0),
+ .ReleaseNumber = VERSION_BCD(
2,0,
0),
.ManufacturerStrIndex = STRING_ID_Manufacturer,
.ProductStrIndex = STRING_ID_Product,
.ManufacturerStrIndex = STRING_ID_Manufacturer,
.ProductStrIndex = STRING_ID_Product,