[fixup] aarch64 UMP compiler error (#8677)

Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
Shell
2024-03-30 17:58:38 +08:00
committed by GitHub
parent 6d1bc9b2f8
commit 864055bf18
11 changed files with 30 additions and 24 deletions

View File

@@ -89,7 +89,7 @@ static rt_err_t _mutex_take_safe(rt_mutex_t mtx, rt_int32_t timeout, int flags)
}
else
{
rc = -RT_EINVAL;
rc = -RT_ERROR;
LOG_W("%s: mtx should not be NULL", __func__);
RT_ASSERT(0);
}