From e86e9a156b07e051d00a05d53af13d760c315b48 Mon Sep 17 00:00:00 2001 From: xross Date: Wed, 19 Oct 2022 14:20:51 +0100 Subject: [PATCH] Fix typo in define name --- lib_xua/src/core/buffer/ep/ep_buffer.xc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib_xua/src/core/buffer/ep/ep_buffer.xc b/lib_xua/src/core/buffer/ep/ep_buffer.xc index 20355a5e..0fc7a13e 100644 --- a/lib_xua/src/core/buffer/ep/ep_buffer.xc +++ b/lib_xua/src/core/buffer/ep/ep_buffer.xc @@ -525,7 +525,6 @@ void XUA_Buffer_Ep(register chanend c_aud_out, #if (XUA_SYNCMODE == XUA_SYNCMODE_SYNC) /* This really could (should) be done in decouple. However, for a quick demo this is okay * Decouple expects a 16:16 number in fixed point stored in the global g_speed */ - unsigned usbSpeed; int framesPerSec; GET_SHARED_GLOBAL(usbSpeed, g_curUsbSpeed); @@ -546,7 +545,7 @@ void XUA_Buffer_Ep(register chanend c_aud_out, sofCount = 0; timeNextEdge = timeLastEdge + LOCAL_CLOCK_INCREMENT + LOCAL_CLOCK_MARGIN; } -#elif (XUA_SYNCMODE == XUA_SYNC_MODE_ASYNC) +#elif (XUA_SYNCMODE == XUA_SYNCMODE_ASYNC) /* NOTE our feedback will be wrong for a couple of SOF's after a SF change due to * lastClock being incorrect */