mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
fix(core): fix experimental features not properly updated
[no changelog]
This commit is contained in:
parent
ebeac3a389
commit
2adae45a58
@ -452,7 +452,9 @@ def reload_settings_from_storage() -> None:
|
||||
workflow.idle_timer.set(
|
||||
storage_device.get_autolock_delay_ms(), lock_device_if_unlocked
|
||||
)
|
||||
wire.EXPERIMENTAL_ENABLED = storage_device.get_experimental_features()
|
||||
wire.message_handler.EXPERIMENTAL_ENABLED = (
|
||||
storage_device.get_experimental_features()
|
||||
)
|
||||
if ui.display.orientation() != storage_device.get_rotation():
|
||||
ui.backlight_fade(ui.BacklightLevels.DIM)
|
||||
ui.display.orientation(storage_device.get_rotation())
|
||||
|
@ -49,10 +49,6 @@ if TYPE_CHECKING:
|
||||
LoadedMessageType = TypeVar("LoadedMessageType", bound=protobuf.MessageType)
|
||||
|
||||
|
||||
# If set to False protobuf messages marked with "experimental_message" option are rejected.
|
||||
EXPERIMENTAL_ENABLED = False
|
||||
|
||||
|
||||
def setup(iface: WireInterface) -> None:
|
||||
"""Initialize the wire stack on passed WireInterface."""
|
||||
if utils.USE_THP:
|
||||
|
Loading…
Reference in New Issue
Block a user