The checks for callbacks in bt_ots_init did not correctly take the ots_init->features.oacp into account for all callbacks, which caused some issues. Slightly optimized the check for ots->cb->obj_read by moving the check and reducing the number of places the code calls oacp_read_proc_cb. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| ias | ||
| nus | ||
| ots | ||
| bas.c | ||
| CMakeLists.txt | ||
| dis.c | ||
| hrs.c | ||
| Kconfig | ||
| Kconfig.bas | ||
| Kconfig.dis | ||
| Kconfig.hrs | ||
| Kconfig.tps | ||
| tps.c | ||