mirror of
https://github.com/espressif/openthread.git
synced 2026-08-19 08:59:52 +00:00
Tasklet API cleanup.
This commit is contained in:
@@ -1032,7 +1032,7 @@ otLwfEventWorkerThread(
|
||||
else if (status == STATUS_WAIT_0 + 4) // EventWorkerThreadProcessTasklets fired
|
||||
{
|
||||
// Process all tasklets that were indicated to us from OpenThread
|
||||
otProcessQueuedTasklets(pFilter->otCtx);
|
||||
otTaskletsProcess(pFilter->otCtx);
|
||||
}
|
||||
else if (status == STATUS_WAIT_0 + 5) // SendNetBufferListComplete fired
|
||||
{
|
||||
|
||||
@@ -64,7 +64,7 @@ RtlCopyBufferToMdl(
|
||||
#include <openthread.h>
|
||||
#include <openthread-icmp6.h>
|
||||
#include <openthread-ip6.h>
|
||||
#include <openthread-tasklet.h>
|
||||
#include <openthread/tasklet.h>
|
||||
#include <commissioning/commissioner.h>
|
||||
#include <commissioning/joiner.h>
|
||||
#include <dhcp6/dhcp6_server.h>
|
||||
|
||||
@@ -284,9 +284,9 @@ ThreadError otPlatRandomSecureGet(uint16_t aInputLength, uint8_t *aOutput, uint1
|
||||
return kThreadError_None;
|
||||
}
|
||||
|
||||
void otSignalTaskletPending(_In_ otInstance *otCtx)
|
||||
void otTaskletsSignalPending(_In_ otInstance *otCtx)
|
||||
{
|
||||
LogVerbose(DRIVER_DEFAULT, "otSignalTaskletPending");
|
||||
LogVerbose(DRIVER_DEFAULT, "otTaskletsSignalPending");
|
||||
PMS_FILTER pFilter = otCtxToFilter(otCtx);
|
||||
otLwfEventProcessingIndicateNewTasklet(pFilter);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user