From a2356f2f4a61f9df77b07d5762581682b1e28c24 Mon Sep 17 00:00:00 2001 From: NeroBurner Date: Sun, 29 Sep 2024 21:10:32 +0200 Subject: [PATCH] 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` --- src/components/ble/MusicService.cpp | 2 ++ src/components/ble/MusicService.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/components/ble/MusicService.cpp b/src/components/ble/MusicService.cpp index 94d97f4668..43cbec70d6 100644 --- a/src/components/ble/MusicService.cpp +++ b/src/components/ble/MusicService.cpp @@ -18,6 +18,8 @@ #include "components/ble/MusicService.h" #include "components/ble/NimbleController.h" #include +#include +#include namespace { // 0000yyxx-78fc-48fe-8e23-433b3a1942d0 diff --git a/src/components/ble/MusicService.h b/src/components/ble/MusicService.h index f4b902fedd..93d94a346e 100644 --- a/src/components/ble/MusicService.h +++ b/src/components/ble/MusicService.h @@ -25,6 +25,7 @@ #include #undef max #undef min +#include namespace Pinetime { namespace Controllers {