Fixed typos in the SPI driver SPI_SPEED_FCPU_DIV_64 and SPI_SPEED_FCPU_DIV_128 masks...
authorDean Camera <dean@fourwalledcubicle.com>
Wed, 18 Mar 2009 09:14:09 +0000 (09:14 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Wed, 18 Mar 2009 09:14:09 +0000 (09:14 +0000)
LUFA/ChangeLog.txt
LUFA/Drivers/AT90USBXXX/SPI.h

index 721d5e8..c1de86f 100644 (file)
@@ -39,6 +39,7 @@
   *    interfacing with a FAT library for dataflash file level access\r
   *  - Incomplete non-functional BluetoothHost demo removed until it has reached a stable state to prevent confusion\r
   *  - Corrected CDC class bootloader to fix a few bugs, changed address counter to store x2 addresses for convenience\r
   *    interfacing with a FAT library for dataflash file level access\r
   *  - Incomplete non-functional BluetoothHost demo removed until it has reached a stable state to prevent confusion\r
   *  - Corrected CDC class bootloader to fix a few bugs, changed address counter to store x2 addresses for convenience\r
+  *  - Fixed typos in the SPI driver SPI_SPEED_FCPU_DIV_64 and SPI_SPEED_FCPU_DIV_128 masks (thanks to Markus Zocholl)\r
   *\r
   *  \section Sec_ChangeLog090209 Version 090209\r
   *\r
   *\r
   *  \section Sec_ChangeLog090209 Version 090209\r
   *\r
index 2cfa523..d1c9ced 100644 (file)
                        #define SPI_SPEED_FCPU_DIV_32          (SPI_USE_DOUBLESPEED | (1 << SPR1))\r
 \r
                        /** SPI prescaler mask for SPI_Init(). Divides the system clock by a factor of 64. */\r
                        #define SPI_SPEED_FCPU_DIV_32          (SPI_USE_DOUBLESPEED | (1 << SPR1))\r
 \r
                        /** SPI prescaler mask for SPI_Init(). Divides the system clock by a factor of 64. */\r
-                       #define SPI_SPEED_FCPU_DIV_64          (SPI_USE_DOUBLESPEED | (1 << SPR1) | (1 < SPR0))\r
+                       #define SPI_SPEED_FCPU_DIV_64          (SPI_USE_DOUBLESPEED | (1 << SPR1) | (1 << SPR0))\r
 \r
                        /** SPI prescaler mask for SPI_Init(). Divides the system clock by a factor of 128. */\r
 \r
                        /** SPI prescaler mask for SPI_Init(). Divides the system clock by a factor of 128. */\r
-                       #define SPI_SPEED_FCPU_DIV_128         ((1 << SPR1) | (1 < SPR0))\r
+                       #define SPI_SPEED_FCPU_DIV_128         ((1 << SPR1) | (1 << SPR0))\r
 \r
                /* Inline Functions: */\r
                        /** Initializes the SPI subsystem, ready for transfers. Must be called before calling any other\r
 \r
                /* Inline Functions: */\r
                        /** Initializes the SPI subsystem, ready for transfers. Must be called before calling any other\r