diff --git a/boards/ST_STM32F4_DISCOVERY/board.c b/boards/ST_STM32F4_DISCOVERY/board.c index df35e5013..b8f1272f9 100644 --- a/boards/ST_STM32F4_DISCOVERY/board.c +++ b/boards/ST_STM32F4_DISCOVERY/board.c @@ -63,21 +63,21 @@ void __early_init(void) { #if HAL_USE_SDC || defined(__DOXYGEN__) /** * @brief SDC card detection. - * @todo Fill the implementation. */ bool_t sdc_lld_is_card_inserted(SDCDriver *sdcp) { (void)sdcp; + /* TODO: Fill the implementation.*/ return TRUE; } /** * @brief SDC card write protection detection. - * @todo Fill the implementation. */ bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) { (void)sdcp; + /* TODO: Fill the implementation.*/ return FALSE; } #endif /* HAL_USE_SDC */ @@ -85,21 +85,21 @@ bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) { #if HAL_USE_MMC_SPI || defined(__DOXYGEN__) /** * @brief MMC_SPI card detection. - * @todo Fill the implementation. */ bool_t mmc_lld_is_card_inserted(MMCDriver *mmcp) { (void)mmcp; + /* TODO: Fill the implementation.*/ return TRUE; } /** * @brief MMC_SPI card write protection detection. - * @todo Fill the implementation. */ bool_t mmc_lld_is_write_protected(MMCDriver *mmcp) { (void)mmcp; + /* TODO: Fill the implementation.*/ return FALSE; } #endif diff --git a/boards/ST_STM32F4_DISCOVERY/board.h b/boards/ST_STM32F4_DISCOVERY/board.h index 2206ead85..fa3fa4a08 100644 --- a/boards/ST_STM32F4_DISCOVERY/board.h +++ b/boards/ST_STM32F4_DISCOVERY/board.h @@ -681,10 +681,10 @@ PIN_ODR_HIGH(GPIOD_PIN9) | \ PIN_ODR_HIGH(GPIOD_PIN10) | \ PIN_ODR_HIGH(GPIOD_PIN11) | \ - PIN_ODR_HIGH(GPIOD_LED4) | \ - PIN_ODR_HIGH(GPIOD_LED3) | \ - PIN_ODR_HIGH(GPIOD_LED5) | \ - PIN_ODR_HIGH(GPIOD_LED6)) + PIN_ODR_LOW(GPIOD_LED4) | \ + PIN_ODR_LOW(GPIOD_LED3) | \ + PIN_ODR_LOW(GPIOD_LED5) | \ + PIN_ODR_LOW(GPIOD_LED6)) #define VAL_GPIOD_AFRL (PIN_AFIO_AF(GPIOD_PIN0, 0) | \ PIN_AFIO_AF(GPIOD_PIN1, 0) | \ PIN_AFIO_AF(GPIOD_PIN2, 0) | \ diff --git a/boards/ST_STM32F4_DISCOVERY/stm32f4board.xml b/boards/ST_STM32F4_DISCOVERY/stm32f4board.xml index 0c51785f0..38aa02f21 100644 --- a/boards/ST_STM32F4_DISCOVERY/stm32f4board.xml +++ b/boards/ST_STM32F4_DISCOVERY/stm32f4board.xml @@ -498,7 +498,7 @@