diff --git a/targets/TARGET_NUVOTON/TARGET_M2351/device/StdDriver/m2351_sdh.c b/targets/TARGET_NUVOTON/TARGET_M2351/device/StdDriver/m2351_sdh.c index 3b9fa59aa2..d51429bc16 100644 --- a/targets/TARGET_NUVOTON/TARGET_M2351/device/StdDriver/m2351_sdh.c +++ b/targets/TARGET_NUVOTON/TARGET_M2351/device/StdDriver/m2351_sdh.c @@ -293,7 +293,8 @@ void SDH_Set_clock(SDH_T *sdh, uint32_t sd_clock_khz) } } -uint32_t SDH_CardDetection(SDH_T *sdh) +//uint32_t SDH_CardDetection(SDH_T *sdh) +unsigned int SDH_CardDetection(SDH_T *sdh) { uint32_t i; SDH_INFO_T *pSD;