mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 08:47:45 -04:00
Fix MQTT multitask demo build (#1214)
* Fix MQTT multitask demo build * Fix formatting * Update FreeRTOS-Plus/Demo/Common/coreMQTT_Agent_Interface/freertos_command_pool.c Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> --------- Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
parent
140ce29320
commit
24ad46b7f8
2 changed files with 9 additions and 0 deletions
|
@ -41,6 +41,9 @@
|
||||||
#include "freertos_command_pool.h"
|
#include "freertos_command_pool.h"
|
||||||
#include "freertos_agent_message.h"
|
#include "freertos_agent_message.h"
|
||||||
|
|
||||||
|
/* Demo config include. */
|
||||||
|
#include "demo_config.h"
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
#define QUEUE_NOT_INITIALIZED ( 0U )
|
#define QUEUE_NOT_INITIALIZED ( 0U )
|
||||||
|
|
|
@ -293,4 +293,10 @@ extern void vLoggingPrintf( const char * pcFormatString,
|
||||||
#define democonfigMQTT_LIB "core-mqtt@"MQTT_LIBRARY_VERSION
|
#define democonfigMQTT_LIB "core-mqtt@"MQTT_LIBRARY_VERSION
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The number of command structures to allocate in the pool
|
||||||
|
* for the agent.
|
||||||
|
*/
|
||||||
|
#define MQTT_COMMAND_CONTEXTS_POOL_SIZE 10
|
||||||
|
|
||||||
#endif /* DEMO_CONFIG_H */
|
#endif /* DEMO_CONFIG_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue