mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
fixup debug build
This commit is contained in:
parent
d131919a09
commit
4cc1efa01a
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ bool __time_critical_func(mutex_enter_block_until)(mutex_t *mtx, absolute_time_t
|
|||
|
||||
void __time_critical_func(mutex_exit)(mutex_t *mtx) {
|
||||
uint32_t save = spin_lock_blocking(mtx->core.spin_lock);
|
||||
assert(mtx->owned);
|
||||
assert(mtx->owner >= 0);
|
||||
mtx->owner = -1;
|
||||
__sev();
|
||||
spin_unlock(mtx->core.spin_lock, save);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue