Skip to content

Commit

Permalink
Remove prompt for pin when exiting the baking app on Nano X
Browse files Browse the repository at this point in the history
  • Loading branch information
3noch committed Jun 11, 2019
1 parent dc92c8c commit becae5e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/ui_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ void require_pin(void) {

__attribute__((noreturn))
bool exit_app(void) {
#ifdef BAKING_APP
require_pin();
#endif
# ifdef BAKING_APP
# ifndef TARGET_NANOX
require_pin();
# endif
# endif
BEGIN_TRY_L(exit) {
TRY_L(exit) {
os_sched_exit(-1);
Expand Down

0 comments on commit becae5e

Please sign in to comment.