diff --git a/nimble/host/mesh/src/access.c b/nimble/host/mesh/src/access.c index c80ba394d..5580f27e9 100644 --- a/nimble/host/mesh/src/access.c +++ b/nimble/host/mesh/src/access.c @@ -29,7 +29,7 @@ static u16_t dev_primary_addr; static const struct { const u16_t id; int (*const init)(struct bt_mesh_model *model, bool primary); -} const model_init[] = { +} model_init[] = { { BT_MESH_MODEL_ID_CFG_SRV, bt_mesh_conf_init }, { BT_MESH_MODEL_ID_HEALTH_SRV, bt_mesh_health_init }, };