This commit is contained in:
zhoujie 2026-03-14 10:59:58 +08:00
parent 63d3d63ad0
commit 38169f38ce
2 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@
#define configTICK_RATE_HZ ( ( TickType_t ) 500 )
#define configMAX_PRIORITIES ( 15 )
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 256 ) /* Can be as low as 60 but some of the demo tasks that use this constant require it to be higher. */
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 24 * 1024 ) )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 12 * 1024 ) )
#define configMAX_TASK_NAME_LEN ( 16 )
#define configUSE_TRACE_FACILITY 0
#define configUSE_16_BIT_TICKS 0

View File

@ -303,8 +303,8 @@ int main(void)
TcpLogic_RegisterDetectionCallback(OnDetectionResult);
TcpLogic_Start();
xTaskCreate(task_wchnet_entry, "wchnet", 1024, NULL, 6, NULL);
xTaskCreate(task_business_entry, "business", 1024, NULL, 5, NULL);
xTaskCreate(task_wchnet_entry, "wchnet", 512, NULL, 6, NULL);
xTaskCreate(task_business_entry, "business", 512, NULL, 5, NULL);
xTaskCreate(task_heartbeat_entry, "hb", 256, NULL, 3, NULL);
vTaskStartScheduler();