Unverified Commit ea2de469 authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

FreeRTOS/Arduino header include fix (#2288)

Fixes #2287
parent 80196d57
...@@ -31,12 +31,10 @@ extern bool __isFreeRTOS; ...@@ -31,12 +31,10 @@ extern bool __isFreeRTOS;
extern volatile bool __freeRTOSinitted; extern volatile bool __freeRTOSinitted;
extern "C" { extern "C" {
#ifndef INC_FREERTOS_H
struct QueueDefinition; /* Using old naming convention so as not to break kernel aware debuggers. */ struct QueueDefinition; /* Using old naming convention so as not to break kernel aware debuggers. */
typedef struct QueueDefinition * QueueHandle_t; typedef struct QueueDefinition * QueueHandle_t;
typedef QueueHandle_t SemaphoreHandle_t; typedef QueueHandle_t SemaphoreHandle_t;
typedef int32_t BaseType_t; typedef int32_t BaseType_t;
#endif
extern bool __freertos_check_if_in_isr() __attribute__((weak)); extern bool __freertos_check_if_in_isr() __attribute__((weak));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment