aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA
diff options
context:
space:
mode:
authorareviu <areviu.info@gmail.com>2018-02-28 17:44:20 +0000
committerareviu <areviu.info@gmail.com>2018-02-28 17:44:20 +0000
commiteeacdb0f702d6cb906fb46f5178e209c5aa50be2 (patch)
treea3aeb17c8c9371b97126c4b518c275ad8edd219c /os/hal/ports/SAMA
parent9c05b2810631c00aeef48409f900a2f3c5569625 (diff)
downloadChibiOS-eeacdb0f702d6cb906fb46f5178e209c5aa50be2.tar.gz
ChibiOS-eeacdb0f702d6cb906fb46f5178e209c5aa50be2.tar.bz2
ChibiOS-eeacdb0f702d6cb906fb46f5178e209c5aa50be2.zip
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
Diffstat (limited to 'os/hal/ports/SAMA')
-rw-r--r--os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_reledge.c2
-rw-r--r--os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c4
2 files changed, 2 insertions, 4 deletions
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. */
/*===========================================================================*/