Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xch/test #498

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ doc: | $(BUILD_DIR)

$(BUILD_DIR):
@mkdir -p $@

1 change: 1 addition & 0 deletions include/os_ux.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ typedef enum bolos_ux_e {
BOLOS_UX_ASYNCHMODAL_PAIRING_REQUEST, // ask the ux to display a modal to accept/reject the
// current pairing request
BOLOS_UX_ASYNCHMODAL_PAIRING_CANCEL,
BOLOS_UX_IO_RESET,
BOLOS_UX_LAST_ID,
} bolos_ux_t;

Expand Down
7 changes: 7 additions & 0 deletions src/os_io_seproxyhal.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,13 @@ void io_seproxyhal_init(void)
app_stack_canary = APP_STACK_CANARY_MAGIC;
#endif // HAVE_BOLOS_APP_STACK_CANARY

#if !defined(HAVE_BOLOS) && !defined(BOLOS_OS_UPGRADER_APP)
// Warn UX layer of io reset to avoid unwanted pin lock
memset(&G_ux_params, 0, sizeof(G_ux_params));
G_ux_params.ux_id = BOLOS_UX_IO_RESET;
os_ux(&G_ux_params);
#endif

// wipe the io structure before it's used
#ifdef HAVE_BLE
unsigned int plane = G_io_app.plane_mode;
Expand Down
Loading