1
0
forked from fsfw/fsfw

goofed up, delay function back in task factory

This commit is contained in:
2020-05-03 00:48:18 +02:00
parent 281da25bf9
commit 35594d4b71
4 changed files with 10 additions and 12 deletions

View File

@ -60,13 +60,18 @@ public:
*/
static ReturnValue_t deleteTask(PeriodicTaskIF* task = NULL);
/**
* Function to be called to delay current task
* @param delay The delay in milliseconds
* @return Success of deletion
*/
static ReturnValue_t delayTask(uint32_t delayMs);
private:
/**
* External instantiation is not allowed.
*/
TaskFactory();
static TaskFactory* factoryInstance;
};
#endif /* FRAMEWORK_TASKS_TASKFACTORY_H_ */