mirror of
https://github.com/espressif/openthread.git
synced 2026-08-18 08:29:52 +00:00
Tasklet API cleanup.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user