You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/04/18 20:04:30 UTC

[12/14] incubator-mynewt-core git commit: nffs; Don't call nffs_log_contents() at the end of nffs_detect().

nffs; Don't call nffs_log_contents() at the end of nffs_detect().


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/b0a8c8ed
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/b0a8c8ed
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/b0a8c8ed

Branch: refs/heads/develop
Commit: b0a8c8edb0f98f128737c5577c3d9747ace57888
Parents: 39a6b3d
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon Apr 18 09:46:42 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Apr 18 10:49:42 2016 -0700

----------------------------------------------------------------------
 fs/nffs/src/nffs_restore.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b0a8c8ed/fs/nffs/src/nffs_restore.c
----------------------------------------------------------------------
diff --git a/fs/nffs/src/nffs_restore.c b/fs/nffs/src/nffs_restore.c
index 06ea613..947a359 100644
--- a/fs/nffs/src/nffs_restore.c
+++ b/fs/nffs/src/nffs_restore.c
@@ -958,6 +958,7 @@ nffs_restore_corrupt_scratch(void)
     return 0;
 }
 
+#ifdef notnow
 static void
 nffs_log_contents(void)
 {
@@ -1012,6 +1013,7 @@ nffs_log_contents(void)
         }
     }
 }
+#endif
 
 /**
  * Searches for a valid nffs file system among the specified areas.  This
@@ -1146,9 +1148,10 @@ nffs_restore_full(const struct nffs_area_desc *area_descs)
         goto err;
     }
 
+#ifdef notnow
     NFFS_LOG(DEBUG, "CONTENTS\n");
     nffs_log_contents();
-
+#endif
     return 0;
 
 err: