\r
USB_IsInitialized = false;\r
\r
- #if defined(CAN_BE_BOTH)\r
+ #if defined(USB_CAN_BE_BOTH)\r
USB_CurrentMode = USB_MODE_NONE;\r
#endif\r
}\r
* - Fixed MIDI host Class driver MIDI_Host_SendEventPacket() routine not properly checking for Pipe ready before writing\r
* - Fixed use of deprecated struct initializers, removed library unused parameter warnings when compiled with -Wextra enabled\r
* - Fixed Still Image Host Class driver truncating the PIMA response code (thanks to Daniel Seibert)\r
+ * - 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\r
+ * used (thanks to Daniel Levy)\r
*\r
* \section Sec_ChangeLog091122 Version 091122\r
*\r
* \image html LUFA.gif\r
* \n\r
*\r
- * For author and donation information, see \ref Page_Donating.\r
+ * <b>For author and donation information, see \ref Page_Donating.</b>\r
*\r
* LUFA is an open-source USB library for the USB-enabled AVR microcontrollers, released under the MIT license. It supports\r
* a large number of USB AVR models and boards (see \ref Page_DeviceSupport). It is designed to provide an easy to use, feature\r