led.py: daemonize led_thread
This commit is contained in:
parent
9ae8338253
commit
90c3a08cb1
1 changed files with 2 additions and 1 deletions
|
|
@ -172,7 +172,8 @@ class LEDControl:
|
|||
self.led_thread = threading.Thread(
|
||||
target = self.led_loop,
|
||||
name = 'LED loop',
|
||||
args = timings[state])
|
||||
args = timings[state],
|
||||
daemon = True)
|
||||
|
||||
self.led_thread.start()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue