diff --git a/core/.changelog.d/2841.added b/core/.changelog.d/2841.added new file mode 100644 index 000000000..6e2c35a39 --- /dev/null +++ b/core/.changelog.d/2841.added @@ -0,0 +1 @@ +Add the possibility of rebooting the device into bootloader mode diff --git a/core/src/apps/management/reboot_to_bootloader.py b/core/src/apps/management/reboot_to_bootloader.py index 2a39063b5..0acceea3c 100644 --- a/core/src/apps/management/reboot_to_bootloader.py +++ b/core/src/apps/management/reboot_to_bootloader.py @@ -7,14 +7,10 @@ if TYPE_CHECKING: async def reboot_to_bootloader(ctx: Context, msg: RebootToBootloader) -> NoReturn: - import storage.device - from trezor import io, loop, utils, wire + from trezor import io, loop, utils from trezor.messages import Success from trezor.ui.layouts import confirm_action - if not storage.device.get_experimental_features(): - raise wire.UnexpectedMessage("Experimental features are not enabled") - await confirm_action( ctx, "reboot",