From 2611f59cbce88ff4955a7f5d4ee6201472e6cd27 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Thu, 19 May 2011 16:12:55 -0400 Subject: spi: Comment fixups Moving SPIn Doxygen comments to point of definition in keeping with libmaple conventions. --- libmaple/spi.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libmaple/spi.c') diff --git a/libmaple/spi.c b/libmaple/spi.c index e58ae91..1c68529 100644 --- a/libmaple/spi.c +++ b/libmaple/spi.c @@ -45,6 +45,7 @@ static spi_dev spi1 = { .clk_id = RCC_SPI1, .irq_num = NVIC_SPI1, }; +/** SPI device 1 */ spi_dev *SPI1 = &spi1; static spi_dev spi2 = { @@ -52,6 +53,7 @@ static spi_dev spi2 = { .clk_id = RCC_SPI2, .irq_num = NVIC_SPI2, }; +/** SPI device 2 */ spi_dev *SPI2 = &spi2; #ifdef STM32_HIGH_DENSITY @@ -60,6 +62,7 @@ static spi_dev spi3 = { .clk_id = RCC_SPI3, .irq_num = NVIC_SPI3, }; +/** SPI device 3 */ spi_dev *SPI3 = &spi3; #endif -- cgit v1.2.3