update p_ctl_mute
This commit is contained in:
@@ -1300,6 +1300,7 @@ void AudioHwRemote(chanend c_hidSendData, chanend cc_mic_level, chanend c_uac_vo
|
|||||||
/* Configures the external audio hardware at startup */
|
/* Configures the external audio hardware at startup */
|
||||||
void AudioHwInit()
|
void AudioHwInit()
|
||||||
{
|
{
|
||||||
|
p_ctl_mute <: 0;
|
||||||
int result=0;
|
int result=0;
|
||||||
|
|
||||||
sw_pll_fixed_clock(MCLK_48);
|
sw_pll_fixed_clock(MCLK_48);
|
||||||
@@ -1308,8 +1309,6 @@ void AudioHwInit()
|
|||||||
|
|
||||||
// Wait for power supply to come up.
|
// Wait for power supply to come up.
|
||||||
delay_milliseconds(200);
|
delay_milliseconds(200);
|
||||||
p_ctl_mute <: 1;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Configures the external audio hardware for the required sample frequency */
|
/* Configures the external audio hardware for the required sample frequency */
|
||||||
|
|||||||
Reference in New Issue
Block a user