Skip to content

Commit a6933ac

Browse files
authored
Merge pull request #88 from earlephilhower/werrorfix
Fix GCC -Wall -Wextra unused parameter warnings
2 parents 2168ccf + 56159b6 commit a6933ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/osal/osal_pico.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ static inline osal_semaphore_t osal_semaphore_create(osal_semaphore_def_t* semde
5757

5858
static inline bool osal_semaphore_post(osal_semaphore_t sem_hdl, bool in_isr)
5959
{
60+
(void) in_isr;
6061
sem_release(sem_hdl);
6162
return true;
6263
}
@@ -158,6 +159,7 @@ static inline bool osal_queue_send(osal_queue_t qhdl, void const * data, bool in
158159
// however osal_queue_recieve may be. therefore my assumption is that
159160
// the fifo mutex is not populated for queues used from an IRQ context
160161
//assert(!qhdl->ff.mutex);
162+
(void) in_isr;
161163

162164
_osal_q_lock(qhdl);
163165
bool success = tu_fifo_write(&qhdl->ff, data);

0 commit comments

Comments
 (0)