Tasklet API cleanup.

This commit is contained in:
Jonathan Hui
2017-03-02 10:24:55 -08:00
parent 10e5b9a38f
commit 77bc491c56
23 changed files with 98 additions and 40 deletions
+3 -3
View File
@@ -35,7 +35,7 @@
#include <openthread-core-config.h>
#include <openthread.h>
#include <openthread-diag.h>
#include <openthread-tasklet.h>
#include <openthread/tasklet.h>
#include <cli/cli-uart.h>
#include <platform/platform.h>
#include <assert.h>
@@ -52,7 +52,7 @@ void otPlatFree(void *aPtr)
}
#endif
void otSignalTaskletPending(otInstance *aInstance)
void otTaskletsSignalPending(otInstance *aInstance)
{
(void)aInstance;
}
@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
while (1)
{
otProcessQueuedTasklets(sInstance);
otTaskletsProcess(sInstance);
PlatformProcessDrivers(sInstance);
}