Reverse order of projdefs.h and FreeRTOSConfig.h includes in FreeRTOS.h to allow addition of pdMS_TO_TICKS() macro.

Update RXv2 GCC port to match RXv2 Renesas port.
This commit is contained in:
Richard Barry 2014-06-04 09:17:14 +00:00
parent 5cd0b1e5ef
commit 1130a53ec8
4 changed files with 76 additions and 31 deletions

View file

@ -90,12 +90,12 @@
extern "C" {
#endif
/* Basic FreeRTOS definitions. */
#include "projdefs.h"
/* Application specific configuration options. */
#include "FreeRTOSConfig.h"
/* Basic FreeRTOS definitions. */
#include "projdefs.h"
/* configUSE_PORT_OPTIMISED_TASK_SELECTION must be defined before portable.h
is included as it is used by the port layer. */
#ifndef configUSE_PORT_OPTIMISED_TASK_SELECTION