【类 型】:factor

【原  因】:新换的喇叭声音太小
【过  程】:把PLayText函数 声音默认参数改为最大
【影  响】:所有播放声音都为最大 改前默认最小只有在 下放勾时指定 参数声音最大
This commit is contained in:
air 2026-01-06 18:47:56 +08:00
parent b8fc2bed2e
commit 8fb8914a17
2 changed files with 3 additions and 3 deletions

View File

@ -71,8 +71,8 @@ public:
V8 = 8,
V9 = 9
};
unsigned long lastRunTime = 0; // playText()上次运行时间戳
void playText(String str, VoiceVolume vol = V1);
unsigned long lastRunTime = 0; // 站点()上次运行时间戳
void (String str, VoiceVolume vol = V9);
void SetplayvolMax();
uint8_t chekVoiceMcu();
void stopVoice();

View File

@ -492,7 +492,7 @@ void Task1(void *pvParameters)
/*如果循环时间超过100ms,则打印错误日志*/
if (_looptm_core0 > 200)
{
//addLogMessage("core0 timeout: " + String(_looptm_core0));
// addLogMessage("core0 timeout: " + String(_looptm_core0));
}
}
}