feat(split): Add is_bonded function to peripherals
There is already a function to see if the peripheral is connected, a matching one for if it's bonded is a useful addition for displays/indicators. `is_bonded` gets reset to false in the advertising function in preparation for runtime peripheral bond clearing
This commit is contained in:
parent
9bacaffe62
commit
dbe5dfb1d8
2 changed files with 16 additions and 1 deletions
|
|
@ -6,4 +6,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
bool zmk_split_bt_peripheral_is_connected(void);
|
||||
bool zmk_split_bt_peripheral_is_connected(void);
|
||||
|
||||
bool zmk_split_bt_peripheral_is_bonded(void);
|
||||
Loading…
Add table
Add a link
Reference in a new issue