forked from PAWPAW-Mirror/lib_xua
Revert "Handle case at startup where decouple ISR gets stuck for several hundred cycles at startup, pushing out I2S timing"
This reverts commit 0b32bee3aa.
This commit is contained in:
@@ -523,9 +523,6 @@ __builtin_unreachable();
|
|||||||
GET_SHARED_GLOBAL(rdPtr, g_aud_to_host_rdptr);
|
GET_SHARED_GLOBAL(rdPtr, g_aud_to_host_rdptr);
|
||||||
asm volatile("ldw %0, %1[0]":"=r"(datalength):"r"(rdPtr));
|
asm volatile("ldw %0, %1[0]":"=r"(datalength):"r"(rdPtr));
|
||||||
|
|
||||||
/* Handle startup case where zero length packets exist */
|
|
||||||
if(!datalength) break;
|
|
||||||
|
|
||||||
/* Round up datalength */
|
/* Round up datalength */
|
||||||
datalength = ((datalength+3) & ~0x3) + 4;
|
datalength = ((datalength+3) & ~0x3) + 4;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user