mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-09-28 18:57:33 +00:00
Adapted TACOS to checkTerminationRequest renaming in rtos2-utils
This commit is contained in:
Submodule Libs/rtos2-utils updated: 067a48c309...0e96b2ec29
@@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user