1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-22 19:15:43 +00:00

button refactor ble

This commit is contained in:
tychovrahe 2025-03-12 02:24:56 +01:00
parent 5a5db1be95
commit 149526e78e

View File

@ -128,8 +128,8 @@ workflow_result_t workflow_host_control(const vendor_header *const vhdr,
}
#ifdef USE_BUTTON
if (i == IFACE_BUTTON) {
switch (e.event.button_event.type) {
case (BTN_EVT_DOWN >> 24):
switch (e.event.button_event.event_type) {
case (BTN_EVENT_DOWN >> 24):
ble_iface_start_pairing();
default:
continue;