diff options
| author | sakumisu <[email protected]> | 2025-06-04 17:48:46 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2025-06-04 17:48:46 +0800 |
| commit | 537ccfd945382491b97b75ca380949b8cbff39cd (patch) | |
| tree | 34bef0ae9495df4b0452f0df3d98ee5cc87abd77 /osal/usb_osal_rtthread.c | |
| parent | 6973ec73d962758a3553cd8a567cb84aeb748054 (diff) | |
fix(osal/usb_osal_rtthread): up version to v5.2.0 to use RT_SCHED_PRIV(self).current_priorityv1.5.0-rc2
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'osal/usb_osal_rtthread.c')
| -rw-r--r-- | osal/usb_osal_rtthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osal/usb_osal_rtthread.c b/osal/usb_osal_rtthread.c index 14448fc4..8454283f 100644 --- a/osal/usb_osal_rtthread.c +++ b/osal/usb_osal_rtthread.c @@ -38,7 +38,7 @@ void usb_osal_thread_schedule_other(void) { rt_thread_t self = rt_thread_self(); rt_uint8_t priority; -#if (RTTHREAD_VERSION >= RT_VERSION_CHECK(5, 0, 0)) +#if (RTTHREAD_VERSION >= RT_VERSION_CHECK(5, 2, 0)) const rt_uint8_t old_priority = RT_SCHED_PRIV(self).current_priority; #else const rt_uint8_t old_priority = self->current_priority; |
