mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +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:
|
def set_sd_salt(salt: bytes, salt_tag: bytes, stage: bool = False) -> None:
|
||||||
salt_path = _get_salt_path(stage)
|
salt_path = _get_salt_path(stage)
|
||||||
fs = io.FatFS()
|
fs = io.FatFS()
|
||||||
fs.mount()
|
|
||||||
fs.mkdir("/trezor", True)
|
fs.mkdir("/trezor", True)
|
||||||
fs.mkdir(_get_device_dir(), True)
|
fs.mkdir(_get_device_dir(), True)
|
||||||
with fs.open(salt_path, "w") as f:
|
with fs.open(salt_path, "w") as f:
|
||||||
|
Loading…
Reference in New Issue
Block a user