Skip to content

Commit f5d0f4e

Browse files
committed
Remove warning for configMAX_CO_ROUTINE_PRIORITIES
1 parent d57a2e2 commit f5d0f4e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/FreeRTOS.h

+4
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,10 @@
253253
#define INCLUDE_xTaskGetCurrentTaskHandle 1
254254
#endif
255255

256+
#if ( defined( configUSE_CO_ROUTINES ) && configUSE_CO_ROUTINES != 0 )
257+
#warning Co-routines have been removed from FreeRTOS-Kernel versions released after V10.5.1. You can view previous versions of the FreeRTOS Kernel at github.com/freertos/freertos-kernel/tree/V10.5.1 .
258+
#endif
259+
256260
#ifndef configUSE_DAEMON_TASK_STARTUP_HOOK
257261
#define configUSE_DAEMON_TASK_STARTUP_HOOK 0
258262
#endif

0 commit comments

Comments
 (0)