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:25 UTC
[07/14] incubator-mynewt-core git commit: slinky;
need to reserve more memory to store nffs sector array.
slinky; need to reserve more memory to store nffs sector array.
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/bfeec37c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/bfeec37c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/bfeec37c
Branch: refs/heads/develop
Commit: bfeec37ccefb5b50506d9adc1b405f2952239d56
Parents: 705d334
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Fri Apr 15 16:35:44 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Apr 18 10:49:42 2016 -0700
----------------------------------------------------------------------
apps/slinky/src/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/bfeec37c/apps/slinky/src/main.c
----------------------------------------------------------------------
diff --git a/apps/slinky/src/main.c b/apps/slinky/src/main.c
index 3194df3..c9aa5af 100755
--- a/apps/slinky/src/main.c
+++ b/apps/slinky/src/main.c
@@ -251,7 +251,7 @@ main(int argc, char **argv)
int cnt;
/* NFFS_AREA_MAX is defined in the BSP-specified bsp.h header file. */
- struct nffs_area_desc descs[NFFS_AREA_MAX];
+ struct nffs_area_desc descs[NFFS_AREA_MAX + 1];
#ifdef ARCH_sim
mcu_sim_parse_args(argc, argv);