Added camera thread
This commit is contained in:
9
main.py
9
main.py
@@ -415,6 +415,15 @@ def main() -> None:
|
|||||||
|
|
||||||
ledThread.start()
|
ledThread.start()
|
||||||
|
|
||||||
|
cameraThread = Thread(
|
||||||
|
target=cameraWorker,
|
||||||
|
name="camera_thread",
|
||||||
|
args=(state,),
|
||||||
|
daemon=True,
|
||||||
|
)
|
||||||
|
|
||||||
|
cameraThread.start()
|
||||||
|
|
||||||
if state.config.diskSerial != "":
|
if state.config.diskSerial != "":
|
||||||
mountDisk(state)
|
mountDisk(state)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user