Merge 57dd4757ca66549fa886f7eb7f0941b049cc7705 into 7f290365a9f1b72bf89b4b77ec7dbe39b228bd8e

This commit is contained in:
Войтко Валерий Павлович 2026-07-11 08:51:17 -04:00 committed by GitHub
commit dd2c506b88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,8 +31,26 @@ SOFTWARE.
#include "../platform.h"
#include "FreeRTOS.h"
#include <semphr.h>
#if defined(__has_include)
#if __has_include("FreeRTOS.h") && __has_include(<semphr.h>)
#include "FreeRTOS.h"
#include <semphr.h>
#elif __has_include("freertos/FreeRTOS.h") && __has_include("freertos/semphr.h")
#include "freertos/FreeRTOS.h"
#include "freertos/semphr.h"
#else
#error "FreeRTOS.h and semphr.h not found. Please include path to FreeRTOS in your project settings"
#endif // __has_include
#else
#include "FreeRTOS.h"
#include <semphr.h>
#endif // defined(__has_include)
namespace etl
{