Skip to content

Commit 84286b6

Browse files
Johan HedbergAnas Nashif
authored andcommitted
Bluetooth: Mesh: Fix spelling of "heartbeat"
Signed-off-by: Johan Hedberg <[email protected]>
1 parent 9199844 commit 84286b6

File tree

1 file changed

+16
-16
lines changed
  • subsys/bluetooth/host/mesh

1 file changed

+16
-16
lines changed

subsys/bluetooth/host/mesh/cfg.c

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2652,18 +2652,18 @@ static void hb_pub_send_status(struct bt_mesh_model *model,
26522652
bt_mesh_model_send(model, ctx, msg, NULL, NULL);
26532653
}
26542654

2655-
static void hearbeat_pub_get(struct bt_mesh_model *model,
2656-
struct bt_mesh_msg_ctx *ctx,
2657-
struct net_buf_simple *buf)
2655+
static void heartbeat_pub_get(struct bt_mesh_model *model,
2656+
struct bt_mesh_msg_ctx *ctx,
2657+
struct net_buf_simple *buf)
26582658
{
26592659
BT_DBG("src 0x%04x", ctx->addr);
26602660

26612661
hb_pub_send_status(model, ctx, STATUS_SUCCESS, NULL);
26622662
}
26632663

2664-
static void hearbeat_pub_set(struct bt_mesh_model *model,
2665-
struct bt_mesh_msg_ctx *ctx,
2666-
struct net_buf_simple *buf)
2664+
static void heartbeat_pub_set(struct bt_mesh_model *model,
2665+
struct bt_mesh_msg_ctx *ctx,
2666+
struct net_buf_simple *buf)
26672667
{
26682668
struct hb_pub_param *param = (void *)buf->data;
26692669
struct bt_mesh_cfg *cfg = model->user_data;
@@ -2772,18 +2772,18 @@ static void hb_sub_send_status(struct bt_mesh_model *model,
27722772
bt_mesh_model_send(model, ctx, msg, NULL, NULL);
27732773
}
27742774

2775-
static void hearbeat_sub_get(struct bt_mesh_model *model,
2776-
struct bt_mesh_msg_ctx *ctx,
2777-
struct net_buf_simple *buf)
2775+
static void heartbeat_sub_get(struct bt_mesh_model *model,
2776+
struct bt_mesh_msg_ctx *ctx,
2777+
struct net_buf_simple *buf)
27782778
{
27792779
BT_DBG("src 0x%04x", ctx->addr);
27802780

27812781
hb_sub_send_status(model, ctx, STATUS_SUCCESS);
27822782
}
27832783

2784-
static void hearbeat_sub_set(struct bt_mesh_model *model,
2785-
struct bt_mesh_msg_ctx *ctx,
2786-
struct net_buf_simple *buf)
2784+
static void heartbeat_sub_set(struct bt_mesh_model *model,
2785+
struct bt_mesh_msg_ctx *ctx,
2786+
struct net_buf_simple *buf)
27872787
{
27882788
struct bt_mesh_cfg *cfg = model->user_data;
27892789
u16_t sub_src, sub_dst;
@@ -2884,10 +2884,10 @@ const struct bt_mesh_model_op bt_mesh_cfg_op[] = {
28842884
{ OP_LPN_TIMEOUT_GET, 2, lpn_timeout_get },
28852885
{ OP_KRP_GET, 2, krp_get },
28862886
{ OP_KRP_SET, 3, krp_set },
2887-
{ OP_HEARTBEAT_PUB_GET, 0, hearbeat_pub_get },
2888-
{ OP_HEARTBEAT_PUB_SET, 9, hearbeat_pub_set },
2889-
{ OP_HEARTBEAT_SUB_GET, 0, hearbeat_sub_get },
2890-
{ OP_HEARTBEAT_SUB_SET, 5, hearbeat_sub_set },
2887+
{ OP_HEARTBEAT_PUB_GET, 0, heartbeat_pub_get },
2888+
{ OP_HEARTBEAT_PUB_SET, 9, heartbeat_pub_set },
2889+
{ OP_HEARTBEAT_SUB_GET, 0, heartbeat_sub_get },
2890+
{ OP_HEARTBEAT_SUB_SET, 5, heartbeat_sub_set },
28912891
BT_MESH_MODEL_OP_END,
28922892
};
28932893

0 commit comments

Comments
 (0)