Removed interrupt disable/enable from the Device mode control request processing...
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 2 Aug 2009 11:33:00 +0000 (11:33 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 2 Aug 2009 11:33:00 +0000 (11:33 +0000)
Added new LUFA logo from EDIGMA.COM.

LUFA/Drivers/USB/HighLevel/USBInterrupt.c
LUFA/Drivers/USB/HighLevel/USBTask.c
LUFA/Drivers/USB/HighLevel/USBTask.h
LUFA/ManPages/ChangeLog.txt
LUFA/ManPages/LUFA.gif
LUFA/ManPages/MainPage.txt

index f0a59ed..51a761a 100644 (file)
@@ -252,7 +252,7 @@ ISR(USB_GEN_vect, ISR_BLOCK)
 }\r
 \r
 #if defined(INTERRUPT_CONTROL_ENDPOINT)\r
 }\r
 \r
 #if defined(INTERRUPT_CONTROL_ENDPOINT)\r
-ISR(USB_COM_vect, ISR_BLOCK)\r
+ISR(USB_COM_vect, ISR_NOBLOCK)\r
 {\r
        uint8_t PrevSelectedEndpoint = Endpoint_GetCurrentEndpoint();\r
 \r
 {\r
        uint8_t PrevSelectedEndpoint = Endpoint_GetCurrentEndpoint();\r
 \r
index 5c70457..c02a38b 100644 (file)
@@ -68,12 +68,7 @@ static void USB_DeviceTask(void)
                Endpoint_SelectEndpoint(ENDPOINT_CONTROLEP);\r
 \r
                if (Endpoint_IsSETUPReceived())\r
                Endpoint_SelectEndpoint(ENDPOINT_CONTROLEP);\r
 \r
                if (Endpoint_IsSETUPReceived())\r
-               {\r
-                       ATOMIC_BLOCK(ATOMIC_RESTORESTATE)\r
-                       {\r
-                               USB_Device_ProcessControlPacket();\r
-                       }\r
-               }\r
+                 USB_Device_ProcessControlPacket();\r
                \r
                Endpoint_SelectEndpoint(PrevEndpoint);\r
        }\r
                \r
                Endpoint_SelectEndpoint(PrevEndpoint);\r
        }\r
index 9601315..9138e68 100644 (file)
@@ -34,7 +34,6 @@
        /* Includes: */\r
                #include <avr/io.h>\r
                #include <avr/interrupt.h>\r
        /* Includes: */\r
                #include <avr/io.h>\r
                #include <avr/interrupt.h>\r
-               #include <util/atomic.h>\r
                #include <stdbool.h>\r
                #include <stddef.h>\r
                \r
                #include <stdbool.h>\r
                #include <stddef.h>\r
                \r
index 7adb95f..abda442 100644 (file)
@@ -56,6 +56,7 @@
   *    from oneanother using foreground colours\r
   *  - Internal per-device preprocessing conditions changed to per-device series rather than per-controller group for finer-grain\r
   *    internal control\r
   *    from oneanother using foreground colours\r
   *  - Internal per-device preprocessing conditions changed to per-device series rather than per-controller group for finer-grain\r
   *    internal control\r
+  *  - Interrupts are no longer disabled during the processing of Control Requests on the default endpoint while in device mode\r
   *\r
   *  <b>Fixed:</b>\r
   *  - Changed bootloaders to use FLASHEND rather than the existence of RAMPZ to determine if far FLASH pointers are needed to fix\r
   *\r
   *  <b>Fixed:</b>\r
   *  - Changed bootloaders to use FLASHEND rather than the existence of RAMPZ to determine if far FLASH pointers are needed to fix\r
index 885f5b0..7a6aef2 100644 (file)
Binary files a/LUFA/ManPages/LUFA.gif and b/LUFA/ManPages/LUFA.gif differ
index 6c4d431..e3b5a49 100644 (file)
@@ -8,7 +8,7 @@
  *  \mainpage\r
  *\r
  *  \n\r
  *  \mainpage\r
  *\r
  *  \n\r
- *  \image html LUFA.gif "The Lightweight USB Framework for AVRs"\r
+ *  \image html LUFA.gif\r
  *  \n\r
  *\r
  *  For author and donation information, see \ref Page_Donating.\r
  *  \n\r
  *\r
  *  For author and donation information, see \ref Page_Donating.\r
@@ -36,5 +36,5 @@
  *  - \subpage Page_LibraryApps Overview of included Demos, Bootloaders and Projects\r
  *\r
  *\r
  *  - \subpage Page_LibraryApps Overview of included Demos, Bootloaders and Projects\r
  *\r
  *\r
- *  <small><i>Logo design by Pavla Dlab</i></small>\r
+ *  <small><i>Logo design by EDIGMA.COM</i></small>\r
  */\r
  */\r