mirror of
https://github.com/espressif/openthread.git
synced 2026-09-12 12:10:07 +00:00
[examples] remove unneeded implementation otTaskletsSignalPending (#10849)
The implementation of `otTaskletsSignalPending` in `examples/apps/<app>/main.c` is exactly the same as the weak implementation in `tasklet_api.cpp`. No need to repeat it and blocking other implementations of that function.
This commit is contained in:
@@ -60,8 +60,6 @@ OT_TOOL_WEAK void *otPlatCAlloc(size_t aNum, size_t aSize) { return calloc(aNum,
|
|||||||
OT_TOOL_WEAK void otPlatFree(void *aPtr) { free(aPtr); }
|
OT_TOOL_WEAK void otPlatFree(void *aPtr) { free(aPtr); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void otTaskletsSignalPending(otInstance *aInstance) { OT_UNUSED_VARIABLE(aInstance); }
|
|
||||||
|
|
||||||
#if OPENTHREAD_POSIX && !defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)
|
#if OPENTHREAD_POSIX && !defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)
|
||||||
static otError ProcessExit(void *aContext, uint8_t aArgsLength, char *aArgs[])
|
static otError ProcessExit(void *aContext, uint8_t aArgsLength, char *aArgs[])
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -66,8 +66,6 @@ OT_TOOL_WEAK void *otPlatCAlloc(size_t aNum, size_t aSize) { return calloc(aNum,
|
|||||||
OT_TOOL_WEAK void otPlatFree(void *aPtr) { free(aPtr); }
|
OT_TOOL_WEAK void otPlatFree(void *aPtr) { free(aPtr); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void otTaskletsSignalPending(otInstance *aInstance) { OT_UNUSED_VARIABLE(aInstance); }
|
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
otInstance *instance;
|
otInstance *instance;
|
||||||
|
|||||||
Reference in New Issue
Block a user