ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]

This commit is contained in:
wangjialiang 2021-04-07 17:10:54 +08:00 committed by BOT
parent ee7d448e3c
commit 0cb883b407

View File

@ -3049,7 +3049,7 @@ static void heartbeat_pub_set(struct bt_mesh_model *model,
goto failed;
}
if (param->period_log > 0x10) {
if (param->period_log > 0x11) {
status = STATUS_CANNOT_SET;
goto failed;
}