fix uac1 pop
This commit is contained in:
@@ -2164,7 +2164,11 @@ void mute_handler(chanend c_mic_det)
|
|||||||
{
|
{
|
||||||
// 开机mute sequence
|
// 开机mute sequence
|
||||||
p_ctl_mute <: 0;
|
p_ctl_mute <: 0;
|
||||||
|
#if UAC1_MODE == 1
|
||||||
|
delay_milliseconds(3000);
|
||||||
|
#else
|
||||||
delay_milliseconds(1000);
|
delay_milliseconds(1000);
|
||||||
|
#endif
|
||||||
p_ctl_mute <: 0xf;
|
p_ctl_mute <: 0xf;
|
||||||
|
|
||||||
// mic detect: bit1=mic1 (插入=高, 拔出=低), bit2=mic2 (插入=低, 拔出=高)
|
// mic detect: bit1=mic1 (插入=高, 拔出=低), bit2=mic2 (插入=低, 拔出=高)
|
||||||
|
|||||||
Reference in New Issue
Block a user