Moved FreeRTOS to an object library

This also allows for reducing the propagated includes and thus avoid name clashes to FreeRTOS.
This commit is contained in:
Raphael Coeffic
2022-04-03 17:50:53 +02:00
parent 93b8bf129c
commit c11d7d58ae
10 changed files with 75 additions and 55 deletions
+4 -2
View File
@@ -31,8 +31,10 @@
#include "libopenui.h"
#endif
#include <FreeRTOS.h>
#include <timers.h>
#if !defined(SIMU)
#include <FreeRTOS/include/FreeRTOS.h>
#include <FreeRTOS/include/timers.h>
#endif
uint8_t telemetryStreaming = 0;
uint8_t telemetryRxBuffer[TELEMETRY_RX_PACKET_SIZE]; // Receive buffer. 9 bytes (full packet), worst case 18 bytes with byte-stuffing (+1)