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/08 17:27:34 UTC

[3/3] incubator-mynewt-core git commit: FCB; separate return code from fcb_init() if sector magic does not match.

FCB; separate return code from fcb_init() if sector magic does not match.


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/3748009c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/3748009c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/3748009c

Branch: refs/heads/develop
Commit: 3748009c9b801a7c5938e3ceb84339d4de318ca8
Parents: f4fd3ba
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Fri Apr 8 07:48:09 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Fri Apr 8 08:25:50 2016 -0700

----------------------------------------------------------------------
 sys/fcb/include/fcb/fcb.h | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/3748009c/sys/fcb/include/fcb/fcb.h
----------------------------------------------------------------------
diff --git a/sys/fcb/include/fcb/fcb.h b/sys/fcb/include/fcb/fcb.h
index 4adae0e..ca1b272 100644
--- a/sys/fcb/include/fcb/fcb.h
+++ b/sys/fcb/include/fcb/fcb.h
@@ -68,6 +68,7 @@ struct fcb {
 #define FCB_ERR_NOSPACE	-4
 #define FCB_ERR_NOMEM	-5
 #define FCB_ERR_CRC	-6
+#define FCB_ERR_MAGIC   -7
 
 int fcb_init(struct fcb *fcb);