Threads: Add missing includes
All checks were successful
continuous-integration/drone/push Build is passing
gitea/skullc-peripherals/pipeline/head This commit looks good

This commit is contained in:
Erki 2022-10-30 21:26:38 +02:00
parent d10675e3ec
commit d3b85b7f6c
2 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@
#include <tuple> #include <tuple>
#include <type_traits> #include <type_traits>
#include <cstdint>
namespace Threads namespace Threads
{ {

View File

@ -9,6 +9,8 @@
#include "peripherals_utility.hpp" #include "peripherals_utility.hpp"
#include <limits>
#ifdef INCLUDE_xTaskGetCurrentTaskHandle #ifdef INCLUDE_xTaskGetCurrentTaskHandle
#define ASSERT_IS_CURRENT() \ #define ASSERT_IS_CURRENT() \
assert(Threads::PrimitiveThread::getCurrentThread().taskHandle() == this->taskHandle()) assert(Threads::PrimitiveThread::getCurrentThread().taskHandle() == this->taskHandle())