FreeRTOS/Arduino header include fix (#2288)

Fixes #2287
This commit is contained in:
Earle F. Philhower, III 2024-07-21 05:13:43 -07:00 committed by GitHub
parent 80196d570b
commit ea2de469a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,12 +31,10 @@ extern bool __isFreeRTOS;
extern volatile bool __freeRTOSinitted;
extern "C" {
#ifndef INC_FREERTOS_H
struct QueueDefinition; /* Using old naming convention so as not to break kernel aware debuggers. */
typedef struct QueueDefinition * QueueHandle_t;
typedef QueueHandle_t SemaphoreHandle_t;
typedef int32_t BaseType_t;
#endif
extern bool __freertos_check_if_in_isr() __attribute__((weak));