diff options
| author | NeroBurner <pyro4hell@gmail.com> | 2024-09-29 21:10:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-29 21:10:32 +0200 |
| commit | a2356f2f4a61f9df77b07d5762581682b1e28c24 (patch) | |
| tree | 11ced022c0943151bfbcab82f6a811ddcff0cc37 /src | |
| parent | 3db4e012ceb38602912edad75ccbbcd8834bcae6 (diff) | |
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`
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/ble/MusicService.cpp | 2 | ||||
| -rw-r--r-- | src/components/ble/MusicService.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/components/ble/MusicService.cpp b/src/components/ble/MusicService.cpp index 94d97f46..43cbec70 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 <cstring> +#include <FreeRTOS.h> +#include <task.h> namespace { // 0000yyxx-78fc-48fe-8e23-433b3a1942d0 diff --git a/src/components/ble/MusicService.h b/src/components/ble/MusicService.h index f4b902fe..93d94a34 100644 --- a/src/components/ble/MusicService.h +++ b/src/components/ble/MusicService.h @@ -25,6 +25,7 @@ #include <host/ble_uuid.h> #undef max #undef min +#include <FreeRTOS.h> namespace Pinetime { namespace Controllers { |
