* @Author: luozheng 1732036298@qq.com
* @Date: 2024-06-20 15:14:50
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-10-16 18:36:51
+ * @LastEditTime: 2024-10-17 10:18:24
* @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceModel.cpp
*/
#include "aivoice/include/AiVoiceModel.h"
}
static osTimerId_t g_listeningEndHandle = nullptr;
- static uint8_t LISTENING_TIMEOUT = 15; // 15s钟无操作关闭该视图
+ static uint8_t LISTENING_TIMEOUT = 10; // 10s钟无操作关闭该视图
static void AIListeningCallbackProc(int data)
{
WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "AIListeningCallbackProc %d", LISTENING_TIMEOUT);
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "osTimerDelete failed, ret = %lx!!", ret);
}
g_listeningEndHandle = nullptr;
- LISTENING_TIMEOUT = 15;
+ LISTENING_TIMEOUT = 10;
}
}
* @Author: luozheng 1732036298@qq.com
* @Date: 2024-05-07 11:25:58
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-09-28 14:18:24
+ * @LastEditTime: 2024-10-17 10:39:36
* @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/AiVoice/src/AiVoiceView.cpp
*/
#include "aivoice/include/AiVoicePresenter.h"
}
if(p_AivoiceListeningView)
{
- p_AivoiceListeningView->GetShowtimeoutLabel()->SetText("15");
+ p_AivoiceListeningView->GetShowtimeoutLabel()->SetText("10");
p_AivoiceListeningView->GetShowtimeoutLabel()->Invalidate();
}
AiVoiceModel::GetInstance().start_listening_timer();