diff options
Diffstat (limited to 'Bootloaders/DFU')
-rw-r--r-- | Bootloaders/DFU/Descriptors.c | 2 | ||||
-rw-r--r-- | Bootloaders/DFU/Descriptors.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Bootloaders/DFU/Descriptors.c b/Bootloaders/DFU/Descriptors.c index 1510c7e869..6fcdc4bce6 100644 --- a/Bootloaders/DFU/Descriptors.c +++ b/Bootloaders/DFU/Descriptors.c @@ -108,7 +108,7 @@ USB_Descriptor_Configuration_t ConfigurationDescriptor = .Attributes = (ATTR_CAN_UPLOAD | ATTR_CAN_DOWNLOAD),
- .DetatchTimeout = 0x0000,
+ .DetachTimeout = 0x0000,
.TransferSize = 0x0c00,
.DFUSpecification = VERSION_BCD(01.01)
diff --git a/Bootloaders/DFU/Descriptors.h b/Bootloaders/DFU/Descriptors.h index 9eadf9d4e1..61d44ec96f 100644 --- a/Bootloaders/DFU/Descriptors.h +++ b/Bootloaders/DFU/Descriptors.h @@ -137,7 +137,7 @@ uint8_t Attributes; /**< DFU device attributes, a mask comprising of the
* ATTR_* macros listed in this source file
*/
- uint16_t DetatchTimeout; /**< Timeout in milliseconds between a USB_DETACH
+ uint16_t DetachTimeout; /**< Timeout in milliseconds between a USB_DETACH
* command being issued and the device detaching
* from the USB bus
*/
|