1
0
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:
tychovrahe 2025-01-08 11:25:57 +01:00
parent a265089ad9
commit c75254c4f7

View File

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