Commit 2cab8f07 authored by Dean Camera's avatar Dean Camera
Browse files

Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface...

Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is shut down and both Host and Device modes can be used (thanks to Daniel Levy).
parent c3758ac5
......@@ -125,7 +125,7 @@ void USB_ShutDown(void)
USB_IsInitialized = false;
#if defined(CAN_BE_BOTH)
#if defined(USB_CAN_BE_BOTH)
USB_CurrentMode = USB_MODE_NONE;
#endif
}
......
......@@ -64,6 +64,8 @@
* - Fixed MIDI host Class driver MIDI_Host_SendEventPacket() routine not properly checking for Pipe ready before writing
* - Fixed use of deprecated struct initializers, removed library unused parameter warnings when compiled with -Wextra enabled
* - Fixed Still Image Host Class driver truncating the PIMA response code (thanks to Daniel Seibert)
* - Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is shut down and both Host and Device modes can be
* used (thanks to Daniel Levy)
*
* \section Sec_ChangeLog091122 Version 091122
*
......
......@@ -11,7 +11,7 @@
* \image html LUFA.gif
* \n
*
* For author and donation information, see \ref Page_Donating.
* <b>For author and donation information, see \ref Page_Donating.</b>
*
* LUFA is an open-source USB library for the USB-enabled AVR microcontrollers, released under the MIT license. It supports
* a large number of USB AVR models and boards (see \ref Page_DeviceSupport). It is designed to provide an easy to use, feature
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment