From d9265aab04b38c83685a341115874e0a1bf986af Mon Sep 17 00:00:00 2001 From: IrvingGao <1729854488@qq.com> Date: Sun, 9 Jun 2024 14:32:42 +0800 Subject: [PATCH] [led] --- takway/clients/web_socket_client_utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/takway/clients/web_socket_client_utils.py b/takway/clients/web_socket_client_utils.py index e0778e8..6ac963e 100644 --- a/takway/clients/web_socket_client_utils.py +++ b/takway/clients/web_socket_client_utils.py @@ -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':