Add "board" to all device states
This commit is contained in:
parent
b0be4fc26a
commit
33af3bf48c
3 changed files with 18 additions and 5 deletions
|
|
@ -25,7 +25,11 @@ class MockStreamer(BaseCamera):
|
|||
BaseCamera.__init__(self)
|
||||
|
||||
# Store state of PiCameraStreamer
|
||||
self.state.update({"stream_active": False, "record_active": False})
|
||||
self.state.update({
|
||||
"stream_active": False,
|
||||
"record_active": False,
|
||||
"board": None
|
||||
})
|
||||
|
||||
# Update config properties
|
||||
self.image_resolution = (1312, 976)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue