Added a #error line to check that FreeRTOS.h is included before one of the subordinate header files.

This commit is contained in:
Richard Barry 2008-09-01 08:18:50 +00:00
parent cb12d3a973
commit 172114c49f
4 changed files with 24 additions and 4 deletions

View file

@ -47,11 +47,12 @@
licensing and training services.
*/
/*
Changes since V4.3.1:
+ Added xTaskGetSchedulerState() function.
*/
#ifndef INC_FREERTOS_H
#error "#include FreeRTOS.h" must appear in source files before "#include task.h"
#endif
#ifndef TASK_H
#define TASK_H