MusicService: add missing includes for TickType_t and xTaskGetTickCount (#2130)

Add `FreeRTOS.h` include for the directly used data type `TickType_t` in the header
and the function `xTaskGetTickCount` from FreeRTOS's `task.h`
This commit is contained in:
NeroBurner
2024-09-29 21:10:32 +02:00
committed by GitHub
parent 3db4e012ce
commit a2356f2f4a
2 changed files with 3 additions and 0 deletions

View File

@@ -18,6 +18,8 @@
#include "components/ble/MusicService.h"
#include "components/ble/NimbleController.h"
#include <cstring>
#include <FreeRTOS.h>
#include <task.h>
namespace {
// 0000yyxx-78fc-48fe-8e23-433b3a1942d0

View File

@@ -25,6 +25,7 @@
#include <host/ble_uuid.h>
#undef max
#undef min
#include <FreeRTOS.h>
namespace Pinetime {
namespace Controllers {