From eeacdb0f702d6cb906fb46f5178e209c5aa50be2 Mon Sep 17 00:00:00 2001 From: areviu Date: Wed, 28 Feb 2018 17:44:20 +0000 Subject: removed old reg check and correct some indent git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11594 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_reledge.c | 2 +- os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'os/hal/ports/SAMA') diff --git a/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_reledge.c b/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_reledge.c index 82dd5e920..31630c081 100644 --- a/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_reledge.c +++ b/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_reledge.c @@ -29,7 +29,7 @@ eSDMMC_RC sd_mmc_test_unit_ready( SdmmcDriver *sdmmcp) if ( !(sdmmcp->card.bCardType == CARD_UNKNOWN) ) { - return SDMMC_OK; + return SDMMC_OK; } // It is not a memory card return SDMMC_ERR; diff --git a/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c b/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c index 6aa83624b..8ea88a347 100644 --- a/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c +++ b/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c @@ -36,9 +36,7 @@ /*===========================================================================*/ /* Driver local definitions. */ /*===========================================================================*/ -#if SAMA_ST_USE_PIT == FALSE -#error "SDMMC Driver needs SAMA_ST_USE_PIT" -#endif + /*===========================================================================*/ /* Driver exported variables. */ /*===========================================================================*/ -- cgit v1.2.3