From cf1940245f9b8899e6a4ae31a88c0945d0dfa008 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Thu, 9 Mar 2023 15:24:21 +0000 Subject: [PATCH] Return value of XUD_DoSetRequestStatus in Samp freq change --- lib_xua/src/core/endpoint0/xua_ep0_uacreqs.xc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_xua/src/core/endpoint0/xua_ep0_uacreqs.xc b/lib_xua/src/core/endpoint0/xua_ep0_uacreqs.xc index afcf378e..24f3502c 100644 --- a/lib_xua/src/core/endpoint0/xua_ep0_uacreqs.xc +++ b/lib_xua/src/core/endpoint0/xua_ep0_uacreqs.xc @@ -395,7 +395,7 @@ int AudioClassRequests_2(XUD_ep ep0_out, XUD_ep ep0_in, USB_SetupPacket_t &sp, c } #endif /* MAX_FREQ != MIN_FREQ */ /* Send 0 Length as status stage */ - int x = XUD_DoSetRequestStatus(ep0_in); + return XUD_DoSetRequestStatus(ep0_in); } /* Direction: Device-to-host: Send Current Sample Freq */ else