Threads: Add missing includes
This commit is contained in:
parent
d10675e3ec
commit
d3b85b7f6c
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
namespace Threads
|
namespace Threads
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user