mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-10 07:20:56 +00:00
fixup! feat(core): expose BLE functionality to rust
This commit is contained in:
parent
a265089ad9
commit
c75254c4f7
@ -5,6 +5,9 @@ pub fn connected() -> bool {
|
||||
let mut state = ffi::ble_state_t {
|
||||
connected: false,
|
||||
peer_count: 0,
|
||||
connectable: false,
|
||||
pairing: false,
|
||||
pairing_requested: false,
|
||||
};
|
||||
ffi::ble_get_state(&mut state as _);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user