aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA
diff options
context:
space:
mode:
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. */
/*===========================================================================*/