This is the first version of the newly refactored status code handling.
Status codes are now determined by a special task which inspects SICS for what is going on. Before this was a global variable which caused conflicts when multiple instances in the code tried to set it.
This commit is contained in:
5
task.c
5
task.c
@@ -544,6 +544,11 @@ const char * GetTaskName(pTaskHead it)
|
||||
return (const char*)it->name;
|
||||
}
|
||||
/*------------------------------------------------------------------------------*/
|
||||
const void *GetTaskData(pTaskHead it)
|
||||
{
|
||||
return (const void*)it->pData;
|
||||
}
|
||||
/*------------------------------------------------------------------------------*/
|
||||
long GetTaskGroupID(pTaskMan self)
|
||||
{
|
||||
lIDMama++;
|
||||
|
||||
Reference in New Issue
Block a user