Mercurial > ~darius > hgwebdir.cgi > stm32temp
diff sd.c @ 54:79c7892d07b3
Fix comment style.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Sun, 07 Apr 2013 22:33:16 +0930 |
parents | d7207a9d3c3b |
children | b21db2b47a27 |
line wrap: on
line diff
--- a/sd.c Sun Apr 07 22:32:48 2013 +0930 +++ b/sd.c Sun Apr 07 22:33:16 2013 +0930 @@ -329,33 +329,33 @@ SD_LowLevel_Init(void) { GPIO_InitTypeDef GPIO_InitStructure; - /*!< GPIOC and GPIOD Periph clock enable */ + /* GPIOC and GPIOD Periph clock enable */ RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC | RCC_APB2Periph_GPIOD, ENABLE); - /*!< Configure PC.08, PC.09, PC.10, PC.11, PC.12 pin: D0, D1, D2, D3, CLK pin */ + /* Configure PC.08, PC.09, PC.10, PC.11, PC.12 pin: D0, D1, D2, D3, CLK pin */ GPIO_InitStructure.GPIO_Pin = GPIO_Pin_8 | GPIO_Pin_9 | GPIO_Pin_10 | GPIO_Pin_11 | GPIO_Pin_12; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_Init(GPIOC, &GPIO_InitStructure); - /*!< Configure PD.02 CMD line */ + /* Configure PD.02 CMD line */ GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; GPIO_Init(GPIOD, &GPIO_InitStructure); #ifdef SD_HAVE_DETECT RCC_APB2PeriphClockCmd(SD_DETECT_GPIO_CLK, ENABLE); - /*!< Configure SD_SPI_DETECT_PIN pin: SD Card detect pin */ + /* Configure SD_SPI_DETECT_PIN pin: SD Card detect pin */ GPIO_InitStructure.GPIO_Pin = SD_DETECT_PIN; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPU; GPIO_Init(SD_DETECT_GPIO_PORT, &GPIO_InitStructure); #endif - /*!< Enable the SDIO AHB Clock */ + /* Enable the SDIO AHB Clock */ RCC_AHBPeriphClockCmd(RCC_AHBPeriph_SDIO, ENABLE); #ifdef SD_DMA_MODE - /*!< Enable the DMA2 Clock */ + /* Enable the DMA2 Clock */ RCC_AHBPeriphClockCmd(RCC_AHBPeriph_DMA2, ENABLE); #endif }