Add MQTT project that builds on the task pool project - currently the library is building but not being used.

This commit is contained in:
Richard Barry 2019-07-17 19:44:13 +00:00
parent 3c3b32b8e4
commit d362efca8d
34 changed files with 7588 additions and 0 deletions

View file

@ -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 );
}
}