mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-19 05:48:10 +00: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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user