mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-06-12 01:25:59 +00:00
Adapted TACOS to checkTerminationRequest renaming in rtos2-utils
This commit is contained in:
parent
5e23008b78
commit
9f4c772437
@ -1 +1 @@
|
|||||||
Subproject commit 067a48c30953fb5ee2c9f442f9a93a062c16ac1e
|
Subproject commit 0e96b2ec29fde1e56e12fc9f0dceb80012e0caf3
|
@ -82,6 +82,9 @@ namespace sta
|
|||||||
{
|
{
|
||||||
Statemachine::stateChangeEvent.wait(Statemachine::EventFlags::ALL, osWaitForever);
|
Statemachine::stateChangeEvent.wait(Statemachine::EventFlags::ALL, osWaitForever);
|
||||||
|
|
||||||
|
HeapStats_t stats;
|
||||||
|
vPortGetHeapStats(&stats);
|
||||||
|
|
||||||
// Start all new tasks and stop all the tasks that aren't supposed to be running.
|
// Start all new tasks and stop all the tasks that aren't supposed to be running.
|
||||||
updateThreads();
|
updateThreads();
|
||||||
}
|
}
|
||||||
|
@ -91,7 +91,7 @@ namespace sta
|
|||||||
init();
|
init();
|
||||||
|
|
||||||
// Run the thread until the termination flag is set.
|
// Run the thread until the termination flag is set.
|
||||||
while (!checkTerminationRequest())
|
while (!resetTerminationRequest())
|
||||||
{
|
{
|
||||||
func();
|
func();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user