diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-11 22:52:51 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-11 22:52:51 +0000 |
commit | 80f7724816d1b1f07719185fa7fa5f04b9ecb952 (patch) | |
tree | 334f014f7d379767c749594dae77d312e99fe1b9 /nuttx/drivers/mmcsd | |
parent | 0ad340ca288ed7dc0ae3b682a410e13c13798d0a (diff) | |
download | px4-nuttx-80f7724816d1b1f07719185fa7fa5f04b9ecb952.tar.gz px4-nuttx-80f7724816d1b1f07719185fa7fa5f04b9ecb952.tar.bz2 px4-nuttx-80f7724816d1b1f07719185fa7fa5f04b9ecb952.zip |
Add an 'export' target to the NuttX top-level Makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3771 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/mmcsd')
-rw-r--r-- | nuttx/drivers/mmcsd/mmcsd_sdio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/drivers/mmcsd/mmcsd_sdio.c b/nuttx/drivers/mmcsd/mmcsd_sdio.c index a37008614..1434c440c 100644 --- a/nuttx/drivers/mmcsd/mmcsd_sdio.c +++ b/nuttx/drivers/mmcsd/mmcsd_sdio.c @@ -529,6 +529,7 @@ static void mmcsd_decodeCSD(FAR struct mmcsd_state_s *priv, uint32_t csd[4]) */ #if defined(CONFIG_DEBUG) && defined (CONFIG_DEBUG_VERBOSE) && defined(CONFIG_DEBUG_FS) + memset(&decoded, 0, sizeof(struct mmcsd_csd_s)); decoded.csdstructure = csd[0] >> 30; decoded.mmcspecvers = (csd[0] >> 26) & 0x0f; decoded.taac.timevalue = (csd[0] >> 19) & 0x0f; |