[led]
This commit is contained in:
1 parent
a808d58758
commit
d9265aab04
1 file changed
+4
-4
@@ -186,8 +186,8 @@ class WebSocketClinet:
|
||||
self.listening_event.set()
|
||||
self.speaking_event.clear()
|
||||
|
||||
if board == 'orangepi':
|
||||
recorder.hardware.set_led_on("blue")
|
||||
# if board == 'orangepi':
|
||||
# recorder.hardware.set_led_on("blue")
|
||||
|
||||
# wake up
|
||||
is_bgn = True
|
||||
@@ -254,8 +254,8 @@ class WebSocketClinet:
|
||||
single_chat_finish = False
|
||||
print(f"{datetime.now()}: single conversation finish, reset frames.")
|
||||
|
||||
if board == 'orangepi':
|
||||
recorder.hardware.set_led_off("blue")
|
||||
# if board == 'orangepi':
|
||||
# recorder.hardware.set_led_off("blue")
|
||||
elif self.speaking_event.is_set():
|
||||
print(f"{datetime.now()}: wait for speaking close and listening start.")
|
||||
if board == 'orangepi':
|
||||
|
||||
Reference in new issue
Block a user