|
@@ -79,7 +79,7 @@
|
|
|
|
|
|
/* Private typedef -----------------------------------------------------------*/
|
|
|
/* USER CODE BEGIN PTD */
|
|
|
-
|
|
|
+#define DEBUG_FREERTOS_TASK 0
|
|
|
/* USER CODE END PTD */
|
|
|
|
|
|
/* Private define ------------------------------------------------------------*/
|
|
@@ -455,7 +455,7 @@ void MX_FREERTOS_Init(void)
|
|
|
/* Create the thread(s) */
|
|
|
/* definition and creation of Uart_Comm */
|
|
|
//osThreadDef(Uart_Comm, Task_Usart_GetAllSensorData, osPriorityAboveNormal, 0, 512);
|
|
|
-#if 0
|
|
|
+#if DEBUG_FREERTOS_TASK==0
|
|
|
osThreadDef(Uart2_Comm, Task_Usart2_Collector, osPriorityAboveNormal, 0, 512 * 2); //20200106Àîΰ¸ü¸Ä
|
|
|
Uart2_CommHandle = osThreadCreate(osThread(Uart2_Comm), NULL);
|
|
|
|
|
@@ -465,12 +465,12 @@ void MX_FREERTOS_Init(void)
|
|
|
|
|
|
#if USE_RFS_RECORD==1
|
|
|
|
|
|
- osThreadDef(task_record, func_record_queue_main, osPriorityBelowNormal, 0, 512 * 16);
|
|
|
+ osThreadDef(task_record, func_record_queue_main, osPriorityNormal, 0, 512 * 16);
|
|
|
task_record_Handle = osThreadCreate(osThread(task_record), NULL);
|
|
|
#endif
|
|
|
|
|
|
|
|
|
-#if 0
|
|
|
+#if DEBUG_FREERTOS_TASK==0
|
|
|
/* definition and creation of Data_Process */
|
|
|
osThreadDef(Data_Process, Task_Usart3_LCD_Update, osPriorityNormal, 0, 512 * 4);
|
|
|
Data_ProcessHandle = osThreadCreate(osThread(Data_Process), NULL);
|