Skip to content
Commit 1a927b5f authored by Marek Metelski's avatar Marek Metelski Committed by Carles Cufí
Browse files

Bluetooth: shell: Fix implicit gatt client requirement for bt shell



`write_stats` functionality implementation is guarded by
`BT_GATT_CLIENT`, but is also called from commands defined when
`BT_GATT_DYNAMIC_DB` is set. This means that now application will not
build with `BT_SHELL` used, when we set `BT_GATT_DYNAMIC_CB` solely.

Move this functionality to top of the file without guarding
ifdefs, so it can be used in all gatt shell commands.

Signed-off-by: default avatarMarek Metelski <marek.metelski01@gmail.com>
parent d0e0af74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment