1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00

trezor: Fix screen timeout (#131)

This commit is contained in:
Saleem Rashid 2016-11-26 07:48:04 -05:00 committed by Pavol Rusnak
parent b4eaf7dbaf
commit 5c00b24307

View File

@ -79,7 +79,7 @@ void check_lock_screen(void)
// if homescreen is shown for longer than 10 minutes, lock too // if homescreen is shown for longer than 10 minutes, lock too
if (layoutLast == layoutHome) { if (layoutLast == layoutHome) {
if ((system_millis - system_millis_lock_start) >= 60000) { if ((system_millis - system_millis_lock_start) >= 600000) {
// lock the screen // lock the screen
session_clear(true); session_clear(true);
layoutScreensaver(); layoutScreensaver();