Bluetooth: Mesh: Allow to set the extension list size to zero

If instantiated models don't have any relations at all, then the
extensions list will be empty. We should allow to disable it at all
to not waste RAM.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
Pavel Vasilyev 2023-10-17 16:08:18 +02:00 committed by Carles Cufí
commit 337ba330a2

View file

@ -1431,7 +1431,7 @@ config BT_MESH_COMP_PAGE_2
config BT_MESH_MODEL_EXTENSION_LIST_SIZE config BT_MESH_MODEL_EXTENSION_LIST_SIZE
int "Model extensions list size" int "Model extensions list size"
depends on BT_MESH_COMP_PAGE_1 depends on BT_MESH_COMP_PAGE_1
range 1 255 range 0 255
default 10 default 10
help help
This option specifies how many models relations can be saved. This option specifies how many models relations can be saved.