This commit is contained in:
2024-06-27 19:12:38 +08:00
parent 09678f5971
commit f5556c618a

View File

@@ -34,12 +34,12 @@ void ConfigAudioPorts(
#if (CODEC_MASTER == 0) #if (CODEC_MASTER == 0)
#ifdef __XS3A__ #ifdef __XS3A__
/* Increase drive strength of clock ports to 8mA */ // /* Increase drive strength of clock ports to 8mA */
asm volatile ("setc res[%0], %1" :: "r" (p_bclk), "r" (0x200006)); // asm volatile ("setc res[%0], %1" :: "r" (p_bclk), "r" (0x200006));
if(!isnull(p_lrclk)) // if(!isnull(p_lrclk))
{ // {
asm volatile ("setc res[%0], %1" :: "r" (p_lrclk), "r" (0x200006)); // asm volatile ("setc res[%0], %1" :: "r" (p_lrclk), "r" (0x200006));
} // }
#endif #endif
/* Note this call to stop_clock() will pause forever if the port clocking the clock-block is not low. /* Note this call to stop_clock() will pause forever if the port clocking the clock-block is not low.