forked from espressif/esp-idf
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
This commit is contained in:
@ -3049,7 +3049,7 @@ static void heartbeat_pub_set(struct bt_mesh_model *model,
|
|||||||
goto failed;
|
goto failed;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (param->period_log > 0x10) {
|
if (param->period_log > 0x11) {
|
||||||
status = STATUS_CANNOT_SET;
|
status = STATUS_CANNOT_SET;
|
||||||
goto failed;
|
goto failed;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user