Tighten up the implementations of the USB_Device_SetDeviceAddress(), USB_Controller_R...
[pub/USBasp.git] / LUFA / Drivers / USB / Core / UC3 / Device_UC3.h
index 53d497a..f5a8922 100644 (file)
                        }\r
 \r
                        #if !defined(NO_SOF_EVENTS)\r
-                               /** Enables the device mode Start Of Frame events. When enabled, this causes the\r
-                                *  \ref EVENT_USB_Device_StartOfFrame() event to fire once per millisecond, synchronized to the USB bus,\r
-                                *  at the start of each USB frame when enumerated in device mode.\r
-                                *\r
-                                *  \note Not available when the \c NO_SOF_EVENTS compile time token is defined.\r
-                                */\r
-                               static inline void USB_Device_EnableSOFEvents(void) ATTR_ALWAYS_INLINE;\r
-                               static inline void USB_Device_EnableSOFEvents(void)\r
-                               {\r
-                                       USB_INT_Enable(USB_INT_SOFI);\r
-                               }\r
+                       /** Enables the device mode Start Of Frame events. When enabled, this causes the\r
+                        *  \ref EVENT_USB_Device_StartOfFrame() event to fire once per millisecond, synchronized to the USB bus,\r
+                        *  at the start of each USB frame when enumerated in device mode.\r
+                        *\r
+                        *  \note Not available when the \c NO_SOF_EVENTS compile time token is defined.\r
+                        */\r
+                       static inline void USB_Device_EnableSOFEvents(void) ATTR_ALWAYS_INLINE;\r
+                       static inline void USB_Device_EnableSOFEvents(void)\r
+                       {\r
+                               USB_INT_Enable(USB_INT_SOFI);\r
+                       }\r
 \r
-                               /** Disables the device mode Start Of Frame events. When disabled, this stops the firing of the\r
-                                *  \ref EVENT_USB_Device_StartOfFrame() event when enumerated in device mode.\r
-                                *\r
-                                *  \note Not available when the \c NO_SOF_EVENTS compile time token is defined.\r
-                                */\r
-                               static inline void USB_Device_DisableSOFEvents(void) ATTR_ALWAYS_INLINE;\r
-                               static inline void USB_Device_DisableSOFEvents(void)\r
-                               {\r
-                                       USB_INT_Disable(USB_INT_SOFI);\r
-                               }\r
+                       /** Disables the device mode Start Of Frame events. When disabled, this stops the firing of the\r
+                        *  \ref EVENT_USB_Device_StartOfFrame() event when enumerated in device mode.\r
+                        *\r
+                        *  \note Not available when the \c NO_SOF_EVENTS compile time token is defined.\r
+                        */\r
+                       static inline void USB_Device_DisableSOFEvents(void) ATTR_ALWAYS_INLINE;\r
+                       static inline void USB_Device_DisableSOFEvents(void)\r
+                       {\r
+                               USB_INT_Disable(USB_INT_SOFI);\r
+                       }\r
                        #endif\r
 \r
        /* Private Interface - For use in library only: */\r