Commit 87e56448 authored by Valentin Valls's avatar Valentin Valls
Browse files

mode is already setup in init_device function

parent cfc5e645
......@@ -336,14 +336,7 @@ def get_control(
camera = _Simulator._SimuCamera
if interface is None:
# If initial mode is specified, pass it to the constructor
if mode is not None:
mode = _Simulator._Mode[mode]
camera = _Camera(mode)
camera = _Camera()
camera = _Camera()
interface = _Interface(camera)
if peaks:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment