commit | 4c244c565b02efef8c34b8021209da8047392b18 | [log] [tgz] |
---|---|---|
author | Fabio Utzig <utzig@apache.org> | Tue Dec 04 18:45:41 2018 -0200 |
committer | Fabio Utzig <utzig@apache.org> | Tue Dec 04 18:45:41 2018 -0200 |
tree | fb49824dcb94066f8889186391f02588fa4aee83 | |
parent | 4b7df7c3fd19a4a9e84e65a6570ea5e9950a74cd [diff] |
Fix max areas macro name Signed-off-by: Fabio Utzig <utzig@apache.org>
diff --git a/test/src/nffs_test_debug.c b/test/src/nffs_test_debug.c index 2e2965d..ecd4c40 100644 --- a/test/src/nffs_test_debug.c +++ b/test/src/nffs_test_debug.c
@@ -166,7 +166,7 @@ int i; for (i = 0; nffs_current_area_descs[i].nad_length != 0; i++) { - if (i > NFFS_MAX_AREAS) { + if (i > NFFS_CONFIG_MAX_AREAS) { return; } area.na_offset = nffs_current_area_descs[i].nad_offset;