diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-03-18 09:14:09 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-03-18 09:14:09 +0000 |
commit | 9e9fc97fc902656e654bf378ab0f2a3d6874f7aa (patch) | |
tree | a2e2e75c803b4a26d187b22b10153c417e057928 /LUFA/Drivers | |
parent | ceb68a06408ca31d41cfb57eb3cd20268c1aed15 (diff) | |
download | lufa-9e9fc97fc902656e654bf378ab0f2a3d6874f7aa.tar.gz lufa-9e9fc97fc902656e654bf378ab0f2a3d6874f7aa.tar.bz2 lufa-9e9fc97fc902656e654bf378ab0f2a3d6874f7aa.zip |
Fixed typos in the SPI driver SPI_SPEED_FCPU_DIV_64 and SPI_SPEED_FCPU_DIV_128 masks (thanks to Markus Zocholl).
Diffstat (limited to 'LUFA/Drivers')
-rw-r--r-- | LUFA/Drivers/AT90USBXXX/SPI.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/AT90USBXXX/SPI.h b/LUFA/Drivers/AT90USBXXX/SPI.h index 2cfa52322..d1c9cede4 100644 --- a/LUFA/Drivers/AT90USBXXX/SPI.h +++ b/LUFA/Drivers/AT90USBXXX/SPI.h @@ -68,10 +68,10 @@ #define SPI_SPEED_FCPU_DIV_32 (SPI_USE_DOUBLESPEED | (1 << SPR1))
/** SPI prescaler mask for SPI_Init(). Divides the system clock by a factor of 64. */
- #define SPI_SPEED_FCPU_DIV_64 (SPI_USE_DOUBLESPEED | (1 << SPR1) | (1 < SPR0))
+ #define SPI_SPEED_FCPU_DIV_64 (SPI_USE_DOUBLESPEED | (1 << SPR1) | (1 << SPR0))
/** SPI prescaler mask for SPI_Init(). Divides the system clock by a factor of 128. */
- #define SPI_SPEED_FCPU_DIV_128 ((1 << SPR1) | (1 < SPR0))
+ #define SPI_SPEED_FCPU_DIV_128 ((1 << SPR1) | (1 << SPR0))
/* Inline Functions: */
/** Initializes the SPI subsystem, ready for transfers. Must be called before calling any other
|