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:
parent
b4eaf7dbaf
commit
5c00b24307
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user