forked from kofal.net/zmk
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:
@@ -32,7 +32,7 @@ void battery_status_init() {
|
||||
|
||||
void set_battery_symbol(lv_obj_t *label) {
|
||||
char text[2] = " ";
|
||||
uint8_t level = bt_gatt_bas_get_battery_level();
|
||||
uint8_t level = bt_bas_get_battery_level();
|
||||
|
||||
#if IS_ENABLED(CONFIG_USB)
|
||||
if (zmk_usb_is_powered()) {
|
||||
|
||||
Reference in New Issue
Block a user