File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -578,9 +578,9 @@ bool tuh_control_xfer (tuh_xfer_t* xfer)
578578
579579TU_ATTR_ALWAYS_INLINE static inline void _set_control_xfer_stage (uint8_t stage )
580580{
581- osal_mutex_lock (_usbh_mutex , OSAL_TIMEOUT_WAIT_FOREVER );
581+ ( void ) osal_mutex_lock (_usbh_mutex , OSAL_TIMEOUT_WAIT_FOREVER );
582582 _ctrl_xfer .stage = stage ;
583- osal_mutex_unlock (_usbh_mutex );
583+ ( void ) osal_mutex_unlock (_usbh_mutex );
584584}
585585
586586static void _xfer_complete (uint8_t daddr , xfer_result_t result )
Original file line number Diff line number Diff line change 2828#include "unity.h"
2929
3030// Files to test
31+ #include "osal/osal.h"
3132#include "tusb_fifo.h"
3233#include "tusb.h"
3334#include "usbd.h"
Original file line number Diff line number Diff line change 2525#include "unity.h"
2626
2727// Files to test
28+ #include "osal/osal.h"
2829#include "tusb_fifo.h"
2930#include "tusb.h"
3031#include "usbd.h"
Original file line number Diff line number Diff line change 2626
2727#include <string.h>
2828#include "unity.h"
29+
30+ #include "osal/osal.h"
2931#include "tusb_fifo.h"
3032
3133#define FIFO_SIZE 10
@@ -315,4 +317,4 @@ void test_rd_idx_wrap()
315317 n = tu_fifo_read_n (& ff10 , dst , 4 );
316318 TEST_ASSERT_EQUAL (n , 2 );
317319 TEST_ASSERT_EQUAL (ff10 .rd_idx , 6 );
318- }
320+ }
You can’t perform that action at this time.
0 commit comments