mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-11 13:54:16 -04:00
Add MQTT project that builds on the task pool project - currently the library is building but not being used.
This commit is contained in:
parent
3c3b32b8e4
commit
d362efca8d
34 changed files with 7588 additions and 0 deletions
|
@ -182,6 +182,8 @@ uint32_t ulLoops = 0;
|
|||
|
||||
static void prvSimpleTaskNotifyCallback( IotTaskPool_t pTaskPool, IotTaskPoolJob_t pJob, void *pUserContext )
|
||||
{
|
||||
/* The jobs context is the handle of the task to which a notification should
|
||||
be sent. */
|
||||
TaskHandle_t xTaskToNotify = ( TaskHandle_t ) pUserContext;
|
||||
|
||||
/* Remove warnings about unused parameters. */
|
||||
|
@ -468,6 +470,7 @@ IotTaskPoolJobStatus_t xJobStatus;
|
|||
prvSimpleTaskNotifyCallback,
|
||||
(void * ) xTaskGetCurrentTaskHandle(),
|
||||
&( xJobs[ xIndex ] ) );
|
||||
configASSERT( xResult == IOT_TASKPOOL_SUCCESS );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue