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 7e557f5 commit 99a157fCopy full SHA for 99a157f
FreeRTOS/portable/esp-idf/riscv/include/freertos/portmacro.h
@@ -333,6 +333,8 @@ FORCE_INLINE_ATTR bool xPortCanYield(void)
333
return (threshold <= 1);
334
}
335
336
+#define FREERTOS_PRIORITY_TO_RTTHREAD(priority) ( configMAX_PRIORITIES - 1 - ( priority ) )
337
+#define RTTHREAD_PRIORITY_TO_FREERTOS(priority) ( RT_THREAD_PRIORITY_MAX - 1 - ( priority ) )
338
/* Use this macro to calculate the buffer size when allocating a queue statically
339
* To ensure the buffer can fit the desired number of messages
340
*/
0 commit comments