This is an automated email from the ASF dual-hosted git repository. naraj pushed a commit to branch revert-958-mesh_sync_march21 in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit e7bb3312f3de1a2ccfc61ad5d8f701b8114e247b Author: MichaĆ Narajowski <michal.narajow...@codecoup.pl> AuthorDate: Thu May 27 10:20:19 2021 +0200 Revert "mesh: Resolve dead code in store_seg" This reverts commit 26666ceebd64ed797011ca13546fbca5aad78f64. --- nimble/host/mesh/src/settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/host/mesh/src/settings.c b/nimble/host/mesh/src/settings.c index cb583eb..1fb2b08 100644 --- a/nimble/host/mesh/src/settings.c +++ b/nimble/host/mesh/src/settings.c @@ -1189,7 +1189,7 @@ static void store_pending_seq(void) void bt_mesh_store_seq(void) { - if (CONFIG_BT_MESH_SEQ_STORE_RATE > 1 && + if (CONFIG_BT_MESH_SEQ_STORE_RATE && (bt_mesh.seq % CONFIG_BT_MESH_SEQ_STORE_RATE)) { return; }