refactor(app): remove _gatt_ infixes from BT DIS and BAS services
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467
This commit is contained in:
parent
250cc07749
commit
0d4476d148
3 changed files with 4 additions and 4 deletions
|
|
@ -38,7 +38,7 @@ static int zmk_battery_update(const struct device *battery) {
|
|||
|
||||
LOG_DBG("Setting BAS GATT battery level to %d.", state_of_charge.val1);
|
||||
|
||||
rc = bt_gatt_bas_set_battery_level(state_of_charge.val1);
|
||||
rc = bt_bas_set_battery_level(state_of_charge.val1);
|
||||
|
||||
if (rc != 0) {
|
||||
LOG_WRN("Failed to set BAS GATT battery level (err %d)", rc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue