Moved to collision-robust device name
This commit is contained in:
parent
cf19939379
commit
8a282db12b
9 changed files with 28 additions and 28 deletions
|
|
@ -22,7 +22,7 @@ class MjpegStream(Resource):
|
|||
"""
|
||||
MJPEG stream from the microscope camera
|
||||
"""
|
||||
microscope = find_device("openflexure_microscope")
|
||||
microscope = find_device("org.openflexure.microscope")
|
||||
# Restart stream worker thread
|
||||
microscope.camera.start_worker()
|
||||
|
||||
|
|
@ -46,7 +46,7 @@ class SnapshotStream(Resource):
|
|||
:>header Content-Type: image/jpeg
|
||||
:status 200: stream active
|
||||
"""
|
||||
microscope = find_device("openflexure_microscope")
|
||||
microscope = find_device("org.openflexure.microscope")
|
||||
# Restart stream worker thread
|
||||
microscope.camera.start_worker()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue