We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6973ec7 commit 537ccfdCopy full SHA for 537ccfd
osal/usb_osal_rtthread.c
@@ -38,7 +38,7 @@ void usb_osal_thread_schedule_other(void)
38
{
39
rt_thread_t self = rt_thread_self();
40
rt_uint8_t priority;
41
-#if (RTTHREAD_VERSION >= RT_VERSION_CHECK(5, 0, 0))
+#if (RTTHREAD_VERSION >= RT_VERSION_CHECK(5, 2, 0))
42
const rt_uint8_t old_priority = RT_SCHED_PRIV(self).current_priority;
43
#else
44
const rt_uint8_t old_priority = self->current_priority;
0 commit comments