diff --git a/components/bt/esp_ble_mesh/mesh_core/access.c b/components/bt/esp_ble_mesh/mesh_core/access.c index 989b1f0a66..65b0f91296 100644 --- a/components/bt/esp_ble_mesh/mesh_core/access.c +++ b/components/bt/esp_ble_mesh/mesh_core/access.c @@ -227,7 +227,7 @@ static s32_t next_period(struct bt_mesh_model *mod) BT_DBG("Publishing took %ums", elapsed); - if (elapsed > period) { + if (elapsed >= period) { BT_WARN("Publication sending took longer than the period"); /* Return smallest positive number since 0 means disabled */ return K_MSEC(1);