summaryrefslogtreecommitdiff
path: root/src/osal
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-03-10 17:58:39 +0700
committerhathach <[email protected]>2021-03-10 17:58:39 +0700
commita397353916db36d925f5aec654fc66d5ca09f427 (patch)
tree64058a36905c754b6db49443870c97418053c839 /src/osal
parente864bda6272485a33398ebf0f139607bf244f237 (diff)
fix ci build with rp2040
Diffstat (limited to 'src/osal')
-rw-r--r--src/osal/osal_pico.h4
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);