[bug] board

This commit is contained in:
IrvingGao 2024-05-23 17:37:47 +08:00
parent 2486b6b594
commit 79a9fcae4b
1 changed files with 1 additions and 0 deletions

View File

@ -237,6 +237,7 @@ class WebSocketClinet:
# 长时沉默关闭唤醒状态:如果唤醒后超过一定时间没有说话/关闭按键被按下,则认为是结束 # 长时沉默关闭唤醒状态:如果唤醒后超过一定时间没有说话/关闭按键被按下,则认为是结束
if slience_time > recorder.max_slience_time: if slience_time > recorder.max_slience_time:
recorder.hardware.long_power_status = False recorder.hardware.long_power_status = False
self.wakeup_event.set()
break break
# 短时沉默结束单次对话沉默时间超过一定时间段0.5s左右),则发送数据 # 短时沉默结束单次对话沉默时间超过一定时间段0.5s左右),则发送数据