diff options
Diffstat (limited to 'kvmd/kvmd/__init__.py')
-rw-r--r-- | kvmd/kvmd/__init__.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kvmd/kvmd/__init__.py b/kvmd/kvmd/__init__.py index c4b8dc9a..422a531c 100644 --- a/kvmd/kvmd/__init__.py +++ b/kvmd/kvmd/__init__.py @@ -34,16 +34,15 @@ def main() -> None: ) msd = MassStorageDevice( - bind=str(config["msd"]["bind"]), + device_path=str(config["msd"]["device"]), init_delay=float(config["msd"]["init_delay"]), write_meta=bool(config["msd"]["write_meta"]), loop=loop, ) streamer = Streamer( - cap_power=int(config["streamer"]["pinout"].get("cap", -1)), - conv_power=int(config["streamer"]["pinout"].get("conv", -1)), - bind=str(config["streamer"].get("bind", "")), + cap_power=int(config["streamer"]["pinout"]["cap"]), + conv_power=int(config["streamer"]["pinout"]["conv"]), sync_delay=float(config["streamer"]["sync_delay"]), init_delay=float(config["streamer"]["init_delay"]), width=int(config["streamer"]["size"]["width"]), |