Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
13935a31
Commit
13935a31
authored
May 02, 2009
by
Dean Camera
Browse files
Fixed reversed signature byte ordering in the CDC bootloader (thanks to Johannes Raschke).
parent
f05224ec
Changes
4
Hide whitespace changes
Inline
Side-by-side
Bootloaders/CDC/BootloaderCDC.c
View file @
13935a31
...
...
@@ -424,9 +424,9 @@ TASK(CDC_Task)
}
else
if
(
Command
==
's'
)
{
WriteNextResponseByte
(
SIGNATURE_0
);
WriteNextResponseByte
(
SIGNATURE_1
);
WriteNextResponseByte
(
SIGNATURE_2
);
WriteNextResponseByte
(
SIGNATURE_1
);
WriteNextResponseByte
(
SIGNATURE_0
);
}
else
if
(
Command
==
'b'
)
{
...
...
LUFA/ChangeLog.txt
View file @
13935a31
...
...
@@ -66,6 +66,7 @@
* - Fixed SPI driver init function not clearing SPI2X bit when not needed
* - Fixed PREVENT ALLOW MEDIUM REMOVAL command issuing in the MassStorageHost demo using incorrect parameters (thanks to Mike Alex)
* - Fixed MassStorageHost demo broken due to an incorrect if statement test in MassStore_GetReturnedStatus()
* - Fixed reversed signature byte ordering in the CDC bootloader (thanks to Johannes Raschke)
*
*
* \section Sec_ChangeLog090401 Version 090401
...
...
LUFA/Drivers/USB/HighLevel/Events.h
View file @
13935a31
...
...
@@ -265,11 +265,11 @@
* in host mode, and an attached USB device has failed to enumerate completely.
*
* \param ErrorCode Error code indicating the failure reason, a value in
* USB_Host_EnumerationErrorCodes_t located in Host.h.
*
\ref
USB_Host_EnumerationErrorCodes_t located in Host.h.
*
* \param SubErrorCode Sub error code indicating the reason for failure - for example, if the
* ErrorCode parameter indicates a control error, this will give the error
* code returned by the USB_Host_SendControlRequest() function.
* code returned by the
\ref
USB_Host_SendControlRequest() function.
*
* \note This event only exists on USB AVR models which supports host mode.
*
...
...
LUFA/Drivers/USB/LowLevel/LowLevel.c
View file @
13935a31
...
...
@@ -150,10 +150,10 @@ void USB_ResetInterface(void)
USB_INT_DisableAllInterrupts
();
USB_INT_ClearAllInterrupts
();
USB_IsConnected
=
false
;
USB_IsConnected
=
false
;
#if defined(USB_CAN_BE_HOST)
USB_HostState
=
HOST_STATE_Unattached
;
USB_HostState
=
HOST_STATE_Unattached
;
#endif
#if defined(USB_CAN_BE_DEVICE)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment