fix freertos includes

This commit is contained in:
Andrey
2022-01-20 16:46:04 +03:00
parent 542f180d9d
commit cde2341c1f
3 changed files with 10 additions and 6 deletions

View File

@@ -40,6 +40,15 @@ typedef LONG(NTAPI*PINtSetTimerResolution)(ULONG, BOOLEAN, PULONG);
#include <cstdio>
#include <iostream>
#ifdef FREERTOS
# ifdef ESP_PLATFORM
# include "freertos/FreeRTOS.h"
# include "freertos/task.h"
# endif
# ifdef ARDUINO_ARCH_STM32
# include <STM32FreeRTOS.h>
# endif
#endif
#endif // PIINCLUDES_P_H

View File

@@ -31,10 +31,6 @@
//# include <crt_externs.h>
extern clock_serv_t __pi_mac_clock;
#endif
#ifdef FREERTOS
# include "freertos/FreeRTOS.h"
# include "freertos/task.h"
#endif
#ifdef MICRO_PIP
# include <sys/time.h>
#endif