Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is...
authorDean Camera <dean@fourwalledcubicle.com>
Fri, 18 Dec 2009 00:32:21 +0000 (00:32 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Fri, 18 Dec 2009 00:32:21 +0000 (00:32 +0000)
LUFA/Drivers/USB/LowLevel/LowLevel.c
LUFA/ManPages/ChangeLog.txt
LUFA/ManPages/MainPage.txt

index f15db40..5ac4761 100644 (file)
@@ -125,7 +125,7 @@ void USB_ShutDown(void)
 \r
        USB_IsInitialized = false;\r
 \r
 \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
        USB_CurrentMode = USB_MODE_NONE;\r
        #endif\r
 }\r
index 64bfb17..b6ef5b9 100644 (file)
@@ -64,6 +64,8 @@
   *  - 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 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
   *\r
   *  \section Sec_ChangeLog091122 Version 091122\r
   *\r
index 3c763bd..0626cdb 100644 (file)
@@ -11,7 +11,7 @@
  *  \image html LUFA.gif\r
  *  \n\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
  *\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