Skip to content
Snippets Groups Projects
Commit 81c8d4fd authored by Federico Mandelli's avatar Federico Mandelli
Browse files

[TaskScheduler] Changed default policy to RECOVER

parent a79ad9dd
Branches
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ public: ...@@ -113,7 +113,7 @@ public:
* @return The ID of the task if it was added successfully, 0 otherwise. * @return The ID of the task if it was added successfully, 0 otherwise.
*/ */
size_t addTask(function_t function, uint32_t period, size_t addTask(function_t function, uint32_t period,
Policy policy = Policy::SKIP, Policy policy = Policy::RECOVER,
int64_t startTick = miosix::getTick()); int64_t startTick = miosix::getTick());
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment