# HG changeset patch # User Daniel O'Connor # Date 1365339796 -34200 # Node ID 79c7892d07b3906c5f27b81c8b615aa2b10107d2 # Parent 6ad0603ea909e1b51c096a787c41416b7342008e Fix comment style. diff -r 6ad0603ea909 -r 79c7892d07b3 sd.c --- 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 }