From dcdd9fb56e23365ba77c7d84b3270e3981ff59db Mon Sep 17 00:00:00 2001 From: cyliangtw Date: Tue, 4 Jul 2017 11:28:59 +0800 Subject: [PATCH] [M2351] Sync SDH_CardDetection type to avoid GCC compiler error --- .../TARGET_NUVOTON/TARGET_M2351/device/StdDriver/m2351_sdh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;