mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-07 01:30:05 +00:00
mesh: Fix typo leading to incorrect settings storage
This was intended to be an equality comparison and not an assignment.
This commit is contained in:
@@ -1019,7 +1019,7 @@ static void store_pending_hb_pub(void)
|
||||
if (pub->dst == BT_MESH_ADDR_UNASSIGNED) {
|
||||
str = NULL;
|
||||
} else {
|
||||
val.indefinite = (pub->count = 0xffff);
|
||||
val.indefinite = (pub->count == 0xffff);
|
||||
val.dst = pub->dst;
|
||||
val.period = pub->period;
|
||||
val.ttl = pub->ttl;
|
||||
|
||||
Reference in New Issue
Block a user