From 06eaa953acb4c328b28f4cc7441adc8653db3642 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 21 Sep 2013 10:02:17 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6309 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/boards/OLIMEX_STM32_P407/board.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'os/hal/boards/OLIMEX_STM32_P407/board.c') diff --git a/os/hal/boards/OLIMEX_STM32_P407/board.c b/os/hal/boards/OLIMEX_STM32_P407/board.c index 2b4426c25..bb2732da2 100644 --- a/os/hal/boards/OLIMEX_STM32_P407/board.c +++ b/os/hal/boards/OLIMEX_STM32_P407/board.c @@ -50,19 +50,19 @@ void __early_init(void) { /** * @brief MMC_SPI card detection. */ -bool_t mmc_lld_is_card_inserted(MMCDriver *mmcp) { - static bool_t last_status = FALSE; +bool mmc_lld_is_card_inserted(MMCDriver *mmcp) { + static bool last_status = FALSE; (void)mmcp; if ((palReadLatch(GPIOD) & PAL_PORT_BIT(GPIOD_SPI3_CS)) == 0) return last_status; - return last_status = (bool_t)palReadPad(GPIOD, GPIOD_SPI3_CS); + return last_status = (bool)palReadPad(GPIOD, GPIOD_SPI3_CS); } /** * @brief MMC_SPI card write protection detection. */ -bool_t mmc_lld_is_write_protected(MMCDriver *mmcp) { +bool mmc_lld_is_write_protected(MMCDriver *mmcp) { (void)mmcp; /* TODO: Fill the implementation.*/ -- cgit v1.2.3