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:
parent
542f32d3b1
commit
7d8fbacba7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user