aboutsummaryrefslogtreecommitdiff
path: root/include/libopenstm32/spi.h
diff options
context:
space:
mode:
authorUwe Hermann2010-12-29 18:29:47 +0100
committerUwe Hermann2010-12-29 18:29:47 +0100
commitd9f6f200c189922ff71ec13e1343303bfdae3593 (patch)
tree2acb13fc2b0b9678f96b2bba9a87def47ccd9bf4 /include/libopenstm32/spi.h
parentb5727a6c737ae255f8b318e7714b00a802809ec5 (diff)
Some more whitespace + cosmetics.
Diffstat (limited to 'include/libopenstm32/spi.h')
-rw-r--r--include/libopenstm32/spi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libopenstm32/spi.h b/include/libopenstm32/spi.h
index ea636f5..08da073 100644
--- a/include/libopenstm32/spi.h
+++ b/include/libopenstm32/spi.h
@@ -130,7 +130,7 @@
#define SPI_CR1_SPE (1 << 6)
/* BR[2:0]: Baud rate control */
-#define SPI_CR1_BAUDRATE_FPCLK_DIV_2 (0x00 << 3)
+#define SPI_CR1_BAUDRATE_FPCLK_DIV_2 (0x00 << 3)
#define SPI_CR1_BAUDRATE_FPCLK_DIV_4 (0x01 << 3)
#define SPI_CR1_BAUDRATE_FPCLK_DIV_8 (0x02 << 3)
#define SPI_CR1_BAUDRATE_FPCLK_DIV_16 (0x03 << 3)
@@ -138,7 +138,7 @@
#define SPI_CR1_BAUDRATE_FPCLK_DIV_64 (0x05 << 3)
#define SPI_CR1_BAUDRATE_FPCLK_DIV_128 (0x06 << 3)
#define SPI_CR1_BAUDRATE_FPCLK_DIV_256 (0x07 << 3)
-#define SPI_CR1_BR_FPCLK_DIV_2 0x0
+#define SPI_CR1_BR_FPCLK_DIV_2 0x0
#define SPI_CR1_BR_FPCLK_DIV_4 0x1
#define SPI_CR1_BR_FPCLK_DIV_8 0x2
#define SPI_CR1_BR_FPCLK_DIV_16 0x3