diff options
| author | Ha Thach <[email protected]> | 2021-04-16 01:59:47 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-16 01:59:47 +0700 |
| commit | c611199632b9288eff76c1c4bfdce5d8cc024748 (patch) | |
| tree | 8ccd5c0b34b4f1eb89276fce866ee34a9ff608e1 /src/osal | |
| parent | 93dffba0ac905d8525c3092a52888e1a5db96390 (diff) | |
| parent | c7e4a8616640165b48cfb0ba4f9346982faa4344 (diff) | |
Merge pull request #593 from hathach/edpt_ISO_xfer
Edpt iso xfer
Diffstat (limited to 'src/osal')
| -rw-r--r-- | src/osal/osal_pico.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osal/osal_pico.h b/src/osal/osal_pico.h index c277af271..bae1217eb 100644 --- a/src/osal/osal_pico.h +++ b/src/osal/osal_pico.h @@ -143,7 +143,7 @@ static inline bool osal_queue_receive(osal_queue_t qhdl, void* data) // TODO: revisit... docs say that mutexes are never used from IRQ context, // however osal_queue_recieve may be. therefore my assumption is that // the fifo mutex is not populated for queues used from an IRQ context - assert(!qhdl->ff.mutex); + //assert(!qhdl->ff.mutex); _osal_q_lock(qhdl); bool success = tu_fifo_read(&qhdl->ff, data); @@ -157,7 +157,7 @@ static inline bool osal_queue_send(osal_queue_t qhdl, void const * data, bool in // TODO: revisit... docs say that mutexes are never used from IRQ context, // however osal_queue_recieve may be. therefore my assumption is that // the fifo mutex is not populated for queues used from an IRQ context - assert(!qhdl->ff.mutex); + //assert(!qhdl->ff.mutex); _osal_q_lock(qhdl); bool success = tu_fifo_write(&qhdl->ff, data); |
