summaryrefslogtreecommitdiff
path: root/kvmd/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-10-05 20:03:40 +0300
committerDevaev Maxim <[email protected]>2018-10-05 20:06:39 +0300
commita87963e300b489831c3809c4321c8747752fc6c6 (patch)
tree57480d30fd822ac648df39cfb711e6a3aadaf5e1 /kvmd/__init__.py
parentbbaf99c1b4a19ec6438f794bc045777443cbaaf2 (diff)
msd pinout
Diffstat (limited to 'kvmd/__init__.py')
-rw-r--r--kvmd/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvmd/__init__.py b/kvmd/__init__.py
index 110b80a7..da430634 100644
--- a/kvmd/__init__.py
+++ b/kvmd/__init__.py
@@ -37,8 +37,11 @@ def main() -> None:
)
msd = MassStorageDevice(
+ target=int(config["msd"]["pinout"]["target"]),
+ reset=int(config["msd"]["pinout"]["reset"]),
device_path=str(config["msd"]["device"]),
init_delay=float(config["msd"]["init_delay"]),
+ reset_delay=float(config["msd"]["reset_delay"]),
write_meta=bool(config["msd"]["write_meta"]),
loop=loop,
)