Skip to content

Commit

Permalink
Allow going back from microSD test result screen
Browse files Browse the repository at this point in the history
  • Loading branch information
FoundationKen committed May 26, 2021
1 parent 287ff55 commit ccb1d6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ports/stm32/boards/Passport/modules/self_test_ux.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ async def microsd_test():
return False

os.remove(filename)
await ux_show_story('microSD card is working properly!', title='microSD Test', center=True, center_vertically=True)
result = await ux_show_story('microSD card is working properly!', title='microSD Test', center=True, center_vertically=True)
if result == 'x':
return False
return True

except CardMissingError:
Expand Down

0 comments on commit ccb1d6d

Please sign in to comment.