forked from PAWPAW-Mirror/lib_xua
Fix trap on XS3A based devices when moving to DSD mode
This commit is contained in:
@@ -36,7 +36,10 @@ void ConfigAudioPorts(
|
||||
#ifdef __XS3A__
|
||||
/* 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_lrclk), "r" (0x200006));
|
||||
if(!isnull(p_lrclk))
|
||||
{
|
||||
asm volatile ("setc res[%0], %1" :: "r" (p_lrclk), "r" (0x200006));
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Note this call to stop_clock() will pause forever if the port clocking the clock-block is not low.
|
||||
|
||||
Reference in New Issue
Block a user