projects
/
pub
/
lufa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f05224e
)
Fixed reversed signature byte ordering in the CDC bootloader (thanks to Johannes...
author
Dean Camera
<dean@fourwalledcubicle.com>
Sat, 2 May 2009 05:49:15 +0000
(
05:49
+0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Sat, 2 May 2009 05:49:15 +0000
(
05:49
+0000)
Bootloaders/CDC/BootloaderCDC.c
patch
|
blob
|
blame
|
history
LUFA/ChangeLog.txt
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/HighLevel/Events.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/LowLevel/LowLevel.c
patch
|
blob
|
blame
|
history
diff --git
a/Bootloaders/CDC/BootloaderCDC.c
b/Bootloaders/CDC/BootloaderCDC.c
index
708ba35
..
ef8707d
100644
(file)
--- a/
Bootloaders/CDC/BootloaderCDC.c
+++ b/
Bootloaders/CDC/BootloaderCDC.c
@@
-424,9
+424,9
@@
TASK(CDC_Task)
}
\r
else if (Command == 's')
\r
{
\r
}
\r
else if (Command == 's')
\r
{
\r
- WriteNextResponseByte(SIGNATURE_0);
\r
- WriteNextResponseByte(SIGNATURE_1);
\r
WriteNextResponseByte(SIGNATURE_2);
\r
WriteNextResponseByte(SIGNATURE_2);
\r
+ WriteNextResponseByte(SIGNATURE_1);
\r
+ WriteNextResponseByte(SIGNATURE_0);
\r
}
\r
else if (Command == 'b')
\r
{
\r
}
\r
else if (Command == 'b')
\r
{
\r
diff --git
a/LUFA/ChangeLog.txt
b/LUFA/ChangeLog.txt
index
bdff2bf
..
ae9b22d
100644
(file)
--- a/
LUFA/ChangeLog.txt
+++ b/
LUFA/ChangeLog.txt
@@
-66,6
+66,7
@@
* - Fixed SPI driver init function not clearing SPI2X bit when not needed
\r
* - Fixed PREVENT ALLOW MEDIUM REMOVAL command issuing in the MassStorageHost demo using incorrect parameters (thanks to Mike Alex)
\r
* - Fixed MassStorageHost demo broken due to an incorrect if statement test in MassStore_GetReturnedStatus()
\r
* - Fixed SPI driver init function not clearing SPI2X bit when not needed
\r
* - Fixed PREVENT ALLOW MEDIUM REMOVAL command issuing in the MassStorageHost demo using incorrect parameters (thanks to Mike Alex)
\r
* - Fixed MassStorageHost demo broken due to an incorrect if statement test in MassStore_GetReturnedStatus()
\r
+ * - Fixed reversed signature byte ordering in the CDC bootloader (thanks to Johannes Raschke)
\r
*
\r
*
\r
* \section Sec_ChangeLog090401 Version 090401
\r
*
\r
*
\r
* \section Sec_ChangeLog090401 Version 090401
\r
diff --git
a/LUFA/Drivers/USB/HighLevel/Events.h
b/LUFA/Drivers/USB/HighLevel/Events.h
index
317495c
..
7815534
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/Events.h
+++ b/
LUFA/Drivers/USB/HighLevel/Events.h
@@
-265,11
+265,11
@@
* in host mode, and an attached USB device has failed to enumerate completely.
\r
*
\r
* \param ErrorCode Error code indicating the failure reason, a value in
\r
* in host mode, and an attached USB device has failed to enumerate completely.
\r
*
\r
* \param ErrorCode Error code indicating the failure reason, a value in
\r
- * USB_Host_EnumerationErrorCodes_t located in Host.h.
\r
+ *
\ref
USB_Host_EnumerationErrorCodes_t located in Host.h.
\r
*
\r
* \param SubErrorCode Sub error code indicating the reason for failure - for example, if the
\r
* ErrorCode parameter indicates a control error, this will give the error
\r
*
\r
* \param SubErrorCode Sub error code indicating the reason for failure - for example, if the
\r
* ErrorCode parameter indicates a control error, this will give the error
\r
- * code returned by the USB_Host_SendControlRequest() function.
\r
+ * code returned by the
\ref
USB_Host_SendControlRequest() function.
\r
*
\r
* \note This event only exists on USB AVR models which supports host mode.
\r
*
\r
*
\r
* \note This event only exists on USB AVR models which supports host mode.
\r
*
\r
diff --git
a/LUFA/Drivers/USB/LowLevel/LowLevel.c
b/LUFA/Drivers/USB/LowLevel/LowLevel.c
index
3994e2f
..
1616ae5
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/LowLevel.c
+++ b/
LUFA/Drivers/USB/LowLevel/LowLevel.c
@@
-150,10
+150,10
@@
void USB_ResetInterface(void)
USB_INT_DisableAllInterrupts();
\r
USB_INT_ClearAllInterrupts();
\r
\r
USB_INT_DisableAllInterrupts();
\r
USB_INT_ClearAllInterrupts();
\r
\r
- USB_IsConnected
= false;
\r
+ USB_IsConnected = false;
\r
\r
#if defined(USB_CAN_BE_HOST)
\r
\r
#if defined(USB_CAN_BE_HOST)
\r
- USB_HostState
= HOST_STATE_Unattached;
\r
+ USB_HostState = HOST_STATE_Unattached;
\r
#endif
\r
\r
#if defined(USB_CAN_BE_DEVICE)
\r
#endif
\r
\r
#if defined(USB_CAN_BE_DEVICE)
\r