diff options
| author | Nathan Conrad <[email protected]> | 2019-10-02 01:15:47 -0400 |
|---|---|---|
| committer | Nathan Conrad <[email protected]> | 2019-10-02 01:15:47 -0400 |
| commit | cef388b7bd956adbc6af4904d4d95ca4120ebb7b (patch) | |
| tree | 61541614bb829acde7088c99d1c69a31070db32b /src/osal | |
| parent | 4ea2a4ed60c41c8b55bfb40459e5f54615e2dc72 (diff) | |
| parent | d84a31fd5fd62b9458504615983591a4c4c34f89 (diff) | |
Merge branch 'master' into ZLP_Request2
Diffstat (limited to 'src/osal')
| -rw-r--r-- | src/osal/osal_none.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osal/osal_none.h b/src/osal/osal_none.h index 7780345df..fa581215d 100644 --- a/src/osal/osal_none.h +++ b/src/osal/osal_none.h @@ -145,6 +145,8 @@ typedef osal_queue_def_t* osal_queue_t; // lock queue by disable usb isr
static inline void _osal_q_lock(osal_queue_t qhdl)
{
+ (void) qhdl;
+
#if TUSB_OPT_DEVICE_ENABLED
if (qhdl->role == OPT_MODE_DEVICE) dcd_int_disable(TUD_OPT_RHPORT);
#endif
@@ -157,6 +159,8 @@ static inline void _osal_q_lock(osal_queue_t qhdl) // unlock queue
static inline void _osal_q_unlock(osal_queue_t qhdl)
{
+ (void) qhdl;
+
#if TUSB_OPT_DEVICE_ENABLED
if (qhdl->role == OPT_MODE_DEVICE) dcd_int_enable(TUD_OPT_RHPORT);
#endif
|
