1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/tinyusb: fix compilation with NDEBUG defined

This commit is contained in:
Gunar Schorcht 2022-11-30 20:54:40 +01:00
parent 945af26648
commit ed585cfc22

View File

@ -110,6 +110,7 @@ static inline bool osal_mutex_lock(osal_mutex_t mutex_hdl, uint32_t msec)
return mutex_lock_cancelable(&_mc) == 0;
#else
(void)msec;
assert(msec == OSAL_TIMEOUT_WAIT_FOREVER);
mutex_lock(mutex_hdl);
return true;