Include fixes for threading
This commit is contained in:
parent
fb319fd21f
commit
59c2fc6f7f
@ -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