led.py: daemonize led_thread

This commit is contained in:
The MMGen Project 2024-09-04 13:08:51 +00:00
commit 90c3a08cb1
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

View file

@ -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()