mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 14:58:09 +00:00
core/sd_salt: remove forgotten fs.mount
This commit is contained in:
parent
18ab677124
commit
8225e5d8b2
@ -137,7 +137,6 @@ def load_sd_salt() -> Optional[bytearray]:
|
||||
def set_sd_salt(salt: bytes, salt_tag: bytes, stage: bool = False) -> None:
|
||||
salt_path = _get_salt_path(stage)
|
||||
fs = io.FatFS()
|
||||
fs.mount()
|
||||
fs.mkdir("/trezor", True)
|
||||
fs.mkdir(_get_device_dir(), True)
|
||||
with fs.open(salt_path, "w") as f:
|
||||
|
Loading…
Reference in New Issue
Block a user