fix uac1 pop

This commit is contained in:
Steven Dan
2026-04-16 22:30:46 +08:00
parent 32525b01d4
commit 8eaf4950dd

View File

@@ -2164,7 +2164,11 @@ void mute_handler(chanend c_mic_det)
{
// 开机mute sequence
p_ctl_mute <: 0;
#if UAC1_MODE == 1
delay_milliseconds(3000);
#else
delay_milliseconds(1000);
#endif
p_ctl_mute <: 0xf;
// mic detect: bit1=mic1 (插入=高, 拔出=低), bit2=mic2 (插入=低, 拔出=高)