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:
innovaker
2020-11-18 19:12:10 +00:00
committed by Pete Johanson
parent 250cc07749
commit 0d4476d148
3 changed files with 4 additions and 4 deletions

View File

@@ -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);