]> begriffs open source - freertos/commit
Remove IotMqtt_Assert( pTaskPool == IOT_SYSTEM_TASKPOOL ) from MQTT code
authorGaurav Aggarwal <aggarg@amazon.com>
Tue, 23 Jul 2019 04:49:24 +0000 (04:49 +0000)
committerGaurav Aggarwal <aggarg@amazon.com>
Tue, 23 Jul 2019 04:49:24 +0000 (04:49 +0000)
commit68fd2768869446579bf47aae12d7af7e0a49c238
treedb99dd9698e9374e3afb1e8e95f66a6c82244f2d
parent8ea501ef1162c0551b6c82bdec4c23d1200972b1
Remove IotMqtt_Assert( pTaskPool == IOT_SYSTEM_TASKPOOL ) from MQTT code

The cut down version of the task pool has only one task pool, namely,
system task pool. All the task pool API functions accept NULL as a
valid parameter for IotTaskPool_t and use the system task pool when
NULL is passed for the system task pool.

IOT_SYSTEM_TASKPOOL is defined to NULL to use system task pool and
therefore the above assert is no longer valid.
FreeRTOS-Plus/Source/FreeRTOS-IoT-Libraries/c_sdk/standard/mqtt/src/iot_mqtt_operation.c