|
@@ -25,7 +25,7 @@
|
|
//空间及变量定义
|
|
//空间及变量定义
|
|
#define PROC_MAIN_TASK_STACK_SIZE (2048)
|
|
#define PROC_MAIN_TASK_STACK_SIZE (2048)
|
|
#define PROC_UART_TASK_STACK_SIZE (1024)
|
|
#define PROC_UART_TASK_STACK_SIZE (1024)
|
|
-#define PROC_CAN_TASK_STACK_SIZE (1024)
|
|
|
|
|
|
+#define PROC_CAN_TASK_STACK_SIZE (1024*2)
|
|
#define PROC_TCP_TASK_STACK_SIZE (2048)
|
|
#define PROC_TCP_TASK_STACK_SIZE (2048)
|
|
#define APP_EVENT_QUEUE_SIZE (10)
|
|
#define APP_EVENT_QUEUE_SIZE (10)
|
|
uint8_t deepslpTimerID = DEEPSLP_TIMER_ID7;
|
|
uint8_t deepslpTimerID = DEEPSLP_TIMER_ID7;
|
|
@@ -56,7 +56,7 @@ volatile uint8_t Tcp_statuts = 0;
|
|
uint8_t Batt_Cell_Num = 14;//默认数值14、17
|
|
uint8_t Batt_Cell_Num = 14;//默认数值14、17
|
|
uint8_t Batt_Cell_Num_2 ;//默认数值
|
|
uint8_t Batt_Cell_Num_2 ;//默认数值
|
|
uint8_t Batt_Temp_Num = 5;//默认数值5、7
|
|
uint8_t Batt_Temp_Num = 5;//默认数值5、7
|
|
-CHAR SN[] = "GYTEST00000000002";//SN应写到osfile里面
|
|
|
|
|
|
+CHAR SN[] = "GYTEST00000000004";//SN应写到osfile里面
|
|
|
|
|
|
int16_t Uart_Rece_BattI=0x0000;
|
|
int16_t Uart_Rece_BattI=0x0000;
|
|
uint8_t Can_Rece_buffer[8];
|
|
uint8_t Can_Rece_buffer[8];
|
|
@@ -749,7 +749,7 @@ static void Can_Task(void* arg)
|
|
printf("Gpsmsgqueue: %d,%d,%d,%d\r\n",Gps_Data.latitude,Gps_Data.longitude,Gps_Data.speed,Gps_Data.direction);
|
|
printf("Gpsmsgqueue: %d,%d,%d,%d\r\n",Gps_Data.latitude,Gps_Data.longitude,Gps_Data.speed,Gps_Data.direction);
|
|
#endif
|
|
#endif
|
|
#ifdef BL_FILE_LOG
|
|
#ifdef BL_FILE_LOG
|
|
- bluejoy_printf(BL_LEVEL3,"Gpsmsgqueue: %d,%d,%d,%d\r\n",Gps_Data.latitude,Gps_Data.longitude,Gps_Data.speed,Gps_Data.direction);
|
|
|
|
|
|
+ bluejoy_printf(BL_LEVEL3,"Gpsmsg: %d,%d,%d,%d\r\n",Gps_Data.latitude,Gps_Data.longitude,Gps_Data.speed,Gps_Data.direction);
|
|
#endif
|
|
#endif
|
|
//can采用先接收后发送的策略
|
|
//can采用先接收后发送的策略
|
|
HAL_Can_Receive(Can_Rece_buffer);
|
|
HAL_Can_Receive(Can_Rece_buffer);
|