Minor documentation fixes.
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 30 Oct 2011 07:09:44 +0000 (07:09 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 30 Oct 2011 07:09:44 +0000 (07:09 +0000)
LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h
Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h

index da87780..4c3d999 100644 (file)
                        static inline void USB_REG_On(void)
                        {
                        #if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)
                        static inline void USB_REG_On(void)
                        {
                        #if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)
-                               UHWCON  |=  (1 << UVREGE);
+                               UHWCON |=  (1 << UVREGE);
                        #else
                        #else
-                               REGCR   &= ~(1 << REGDIS);
+                               REGCR  &= ~(1 << REGDIS);
                        #endif
                        }
 
                        #endif
                        }
 
                        static inline void USB_REG_Off(void)
                        {
                        #if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)
                        static inline void USB_REG_Off(void)
                        {
                        #if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)
-                               UHWCON  &= ~(1 << UVREGE);
+                               UHWCON &= ~(1 << UVREGE);
                        #else
                        #else
-                               REGCR   |=  (1 << REGDIS);
+                               REGCR  |=  (1 << REGDIS);
                        #endif
                        }
 
                        #endif
                        }
 
                        static inline void USB_OTGPAD_On(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_OTGPAD_On(void)
                        {
                        static inline void USB_OTGPAD_On(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_OTGPAD_On(void)
                        {
-                               USBCON  |=  (1 << OTGPADE);
+                               USBCON |=  (1 << OTGPADE);
                        }
 
                        static inline void USB_OTGPAD_Off(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_OTGPAD_Off(void)
                        {
                        }
 
                        static inline void USB_OTGPAD_Off(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_OTGPAD_Off(void)
                        {
-                               USBCON  &= ~(1 << OTGPADE);
+                               USBCON &= ~(1 << OTGPADE);
                        }
                        #endif
 
                        static inline void USB_CLK_Freeze(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_CLK_Freeze(void)
                        {
                        }
                        #endif
 
                        static inline void USB_CLK_Freeze(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_CLK_Freeze(void)
                        {
-                               USBCON  |=  (1 << FRZCLK);
+                               USBCON |=  (1 << FRZCLK);
                        }
 
                        static inline void USB_CLK_Unfreeze(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_CLK_Unfreeze(void)
                        {
                        }
 
                        static inline void USB_CLK_Unfreeze(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_CLK_Unfreeze(void)
                        {
-                               USBCON  &= ~(1 << FRZCLK);
+                               USBCON &= ~(1 << FRZCLK);
                        }
 
                        static inline void USB_Controller_Enable(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_Controller_Enable(void)
                        {
                        }
 
                        static inline void USB_Controller_Enable(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_Controller_Enable(void)
                        {
-                               USBCON  |=  (1 << USBE);
+                               USBCON |=  (1 << USBE);
                        }
 
                        static inline void USB_Controller_Disable(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_Controller_Disable(void)
                        {
                        }
 
                        static inline void USB_Controller_Disable(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_Controller_Disable(void)
                        {
-                               USBCON  &= ~(1 << USBE);
+                               USBCON &= ~(1 << USBE);
                        }
 
                        static inline void USB_Controller_Reset(void) ATTR_ALWAYS_INLINE;
                        }
 
                        static inline void USB_Controller_Reset(void) ATTR_ALWAYS_INLINE;
index 3bfa071..906ee82 100644 (file)
@@ -56,7 +56,7 @@
                #endif
 
        /* Macros: */
                #endif
 
        /* Macros: */
-               /** Low level device command to issue an extended FLASH address, for devices with other 128KB of FLASH. */
+               /** Low level device command to issue an extended FLASH address, for devices with over 128KB of FLASH. */
                #define LOAD_EXTENDED_ADDRESS_CMD     0x4D
 
                /** Macro to convert an ISP frequency to a number of timer clock cycles for the software SPI driver. */
                #define LOAD_EXTENDED_ADDRESS_CMD     0x4D
 
                /** Macro to convert an ISP frequency to a number of timer clock cycles for the software SPI driver. */