Bluetooth: OTS: Use proper kconfig log option
`OTS_CLIENT=y` and `OTS=n` is a valid config. Since the logs weren't conditionally included, this flew under the radar for a while. Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
This commit is contained in:
parent
3324eecbae
commit
4bdca17e21
@ -25,7 +25,7 @@
|
||||
#if defined(CONFIG_BT_OTS)
|
||||
LOG_MODULE_DECLARE(bt_ots, CONFIG_BT_OTS_LOG_LEVEL);
|
||||
#elif defined(CONFIG_BT_OTS_CLIENT)
|
||||
LOG_MODULE_REGISTER(bt_ots, CONFIG_BT_OTS_LOG_LEVEL);
|
||||
LOG_MODULE_REGISTER(bt_ots, CONFIG_BT_OTS_CLIENT_LOG_LEVEL);
|
||||
#endif
|
||||
|
||||
/* According to BLE specification Assigned Numbers that are used in the
|
||||
|
||||
Loading…
Reference in New Issue
Block a user