uac1 settings

This commit is contained in:
Steven Dan
2026-03-28 22:44:14 +08:00
parent 6c7d3419d7
commit 12c1535e51

View File

@@ -1908,7 +1908,11 @@ void AudioHwInit()
/* Configures the external audio hardware for the required sample frequency */
void AudioHwConfig(unsigned samFreq, unsigned mClk, unsigned dsdMode, unsigned sampRes_DAC, unsigned sampRes_ADC)
{
#if UAC1_MODE == 1
static unsigned count = 1;
#else
static unsigned count = 0;
#endif
p_ctl_mute <: 0;
g_samfreq = samFreq;
delay_milliseconds(2);