diff options
author | areviu <areviu.info@gmail.com> | 2018-01-15 21:08:56 +0000 |
---|---|---|
committer | areviu <areviu.info@gmail.com> | 2018-01-15 21:08:56 +0000 |
commit | c8a29d8802f436115664cc640faa8389cb4beb19 (patch) | |
tree | 9cb163de4d0c927a73ace97d8dac773b2463c683 /os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc.c | |
parent | a5fa48f014bdcb90297fbfefcb08b5b9f9019ed7 (diff) | |
download | ChibiOS-c8a29d8802f436115664cc640faa8389cb4beb19.tar.gz ChibiOS-c8a29d8802f436115664cc640faa8389cb4beb19.tar.bz2 ChibiOS-c8a29d8802f436115664cc640faa8389cb4beb19.zip |
removed legacy code for pmc
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11288 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc.c')
-rw-r--r-- | os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc.c b/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc.c index aabf0d153..e8bf714ce 100644 --- a/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc.c +++ b/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc.c @@ -98,7 +98,7 @@ void SdMmcUpdateInformation(SdmmcDriver *drv, bool csd, bool extData) uint8_t SDMMC_Lib_SdStart(SdmmcDriver *drv, bool * retry)
{
uint64_t mem_size;
- //uint32_t freq;
+ uint32_t freq;
uint32_t drv_err, status;
uint8_t error;
bool flag;
@@ -272,7 +272,7 @@ uint8_t SDMMC_Lib_SdStart(SdmmcDriver *drv, bool * retry) error = HwSetClock(drv, &freq);
drv->card.dwCurrSpeed = freq;
if (error != SDMMC_OK && error != SDMMC_CHANGED) {
- TRACE_ERROR_1("clk %s\n\r", SD_StringifyRetCode(error));
+ TRACE_ERROR_1("error clk %s\n\r", SD_StringifyRetCode(error));
return error;
}
#endif
@@ -286,7 +286,7 @@ uint8_t SDMMC_Lib_SdStart(SdmmcDriver *drv, bool * retry) //warning
if (status) {
- TRACE_WARNING_1("st %lx\n\r", status);
+ TRACE_WARNING_1("warning st %lx\n\r", status);
}
return SDMMC_OK;
|