mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-27 13:35:44 +00:00
ble bootloader
This commit is contained in:
parent
149526e78e
commit
9e3f434754
@ -51,16 +51,14 @@ workflow_result_t workflow_host_control(const vendor_header *const vhdr,
|
|||||||
usb_iface_init(&usb_iface,
|
usb_iface_init(&usb_iface,
|
||||||
(vhdr == NULL && hdr == NULL) ? sectrue : secfalse);
|
(vhdr == NULL && hdr == NULL) ? sectrue : secfalse);
|
||||||
|
|
||||||
|
|
||||||
protob_init(&protob_usb_iface, &usb_iface);
|
protob_init(&protob_usb_iface, &usb_iface);
|
||||||
|
|
||||||
#ifdef USE_BLE
|
#ifdef USE_BLE
|
||||||
wire_iface_t ble_iface = {0};
|
wire_iface_t ble_iface = {0};
|
||||||
protob_io_t protob_ble_iface = {0};
|
protob_io_t protob_ble_iface = {0};
|
||||||
ble_iface_init(&ble_iface);
|
ble_iface_init(&ble_iface);
|
||||||
protob_init(&protob_ble_iface, &ble_iface);
|
protob_init(&protob_ble_iface, &ble_iface);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
workflow_result_t result = WF_ERROR_FATAL;
|
workflow_result_t result = WF_ERROR_FATAL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user