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 0fa1c9fdf3aa7de54b096a5212e8362cce91d8fd
Author: MichaƂ Narajowski <[email protected]>
AuthorDate: Thu May 27 10:20:19 2021 +0200

    Revert "mesh: Fix restoring fast period divisor from settings"
    
    This reverts commit 6253904845b4ab8afdc41eec21ff96211bed5106.
---
 nimble/host/mesh/src/settings.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/nimble/host/mesh/src/settings.c b/nimble/host/mesh/src/settings.c
index 903230d..cb583eb 100644
--- a/nimble/host/mesh/src/settings.c
+++ b/nimble/host/mesh/src/settings.c
@@ -552,7 +552,6 @@ static int mod_set_pub(struct bt_mesh_model *mod, char *val)
                mod->pub->ttl = 0;
                mod->pub->period = 0;
                mod->pub->retransmit = 0;
-               mod->pub->period_div = pub.period_div;
                mod->pub->count = 0;
 
                BT_DBG("Cleared publication for model");

Reply via email to