1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-23 13:51:00 +00:00

feat(legacy): add auto_lock_delay_ms to Features

This commit is contained in:
Martin Milata 2020-10-02 01:25:40 +02:00 committed by Tomas Susanka
parent 542f32d3b1
commit 7d8fbacba7

View File

@ -62,6 +62,8 @@ bool get_features(Features *resp) {
if (session_isUnlocked()) { if (session_isUnlocked()) {
resp->has_wipe_code_protection = true; resp->has_wipe_code_protection = true;
resp->wipe_code_protection = config_hasWipeCode(); resp->wipe_code_protection = config_hasWipeCode();
resp->has_auto_lock_delay_ms = true;
resp->auto_lock_delay_ms = config_getAutoLockDelayMs();
} }
#if BITCOIN_ONLY #if BITCOIN_ONLY