Include fixes for threading

This commit is contained in:
Erki 2022-09-06 22:26:34 +03:00
parent fb319fd21f
commit 59c2fc6f7f
2 changed files with 3 additions and 0 deletions

View File

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

View File

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