You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2021/09/05 20:26:36 UTC

[incubator-nuttx] branch master updated: drivers/mmcsd: Fix the wrong format argument in mmcsd_dmpcsd

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new c60002c  drivers/mmcsd: Fix the wrong format argument in mmcsd_dmpcsd
c60002c is described below

commit c60002cd743a1088e76aef8f19f0a1ce85f89df5
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun Sep 5 21:47:50 2021 +0800

    drivers/mmcsd: Fix the wrong format argument in mmcsd_dmpcsd
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 drivers/mmcsd/mmcsd_debug.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/mmcsd/mmcsd_debug.c b/drivers/mmcsd/mmcsd_debug.c
index a82b352..29647e0 100644
--- a/drivers/mmcsd/mmcsd_debug.c
+++ b/drivers/mmcsd/mmcsd_debug.c
@@ -79,8 +79,7 @@ void mmcsd_dmpcsd(FAR const uint8_t *csd, uint8_t cardtype)
       finfo("  MMC SPEC_VERS:           %d\n", MMC_CSD_SPECVERS(csd));
     }
 
-  finfo("  TAAC:\n",
-      sd2 ? SD20_CSD_TAC_TIMEVALUE(csd) : MMCSD_CSD_TAAC_TIMEVALUE(csd));
+  finfo("  TAAC:\n");
   finfo("    TIME_VALUE:            0x%02x\n",
       sd2 ? SD20_CSD_TAC_TIMEVALUE(csd) : MMCSD_CSD_TAAC_TIMEVALUE(csd));
   finfo("    TIME_UNIT:             0x%02x\n",