mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-02 18:59:56 +00:00
16 lines
431 B
C
16 lines
431 B
C
|
#pragma once
|
||
|
|
||
|
// The FreeRTOS includes are in a different directory on ESP32 and I can't figure out how to make that work with platformio gcc options
|
||
|
// so this is my quick hack to make things work
|
||
|
|
||
|
#ifdef ARDUINO_ARCH_ESP32
|
||
|
#include <freertos/FreeRTOS.h>
|
||
|
#include <freertos/task.h>
|
||
|
#include <freertos/semphr.h>
|
||
|
#include <freertos/queue.h>
|
||
|
#else
|
||
|
#include <FreeRTOS.h>
|
||
|
#include <task.h>
|
||
|
#include <semphr.h>
|
||
|
#include <queue.h>
|
||
|
#endif
|