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
parent d3f6770665
commit 8a1325dab8

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;
}