Commit 4c00d131 authored by 陈家乐's avatar 陈家乐

feat:100倍加速

parent 4fe4b814
SET PATH=C:\Keil_v5\ARM\ARMCC\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\tyw05\AppData\Local\Microsoft\WindowsApps; SET PATH=C:\Keil_v5\ARM\ARMCC\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\tyw05\AppData\Local\Microsoft\WindowsApps;
SET ARMCC5_ASMOPT=--diag_suppress=9931
SET ARMCC5_CCOPT=--diag_suppress=9931
SET ARMCC5_LINKOPT=--diag_suppress=9931
SET CPU_TYPE=BAT32G139GK64FB SET CPU_TYPE=BAT32G139GK64FB
SET CPU_VENDOR=Cmsemicon SET CPU_VENDOR=Cmsemicon
SET UV2_TARGET=TianYing200 SET UV2_TARGET=TianYing200
......
...@@ -21,7 +21,8 @@ void Sys_2ms_Tasks(void) ...@@ -21,7 +21,8 @@ void Sys_2ms_Tasks(void)
//Can_Write_Fun(&CAN_CH0_CanMsgTxOp, 2000u); //Can_Write_Fun(&CAN_CH0_CanMsgTxOp, 2000u);
Sys_Status_Update_Service(); Sys_Status_Update_Service();
Analog_Signal_Conv_Service(); Analog_Signal_Conv_Service();
Data_Mileage_ISR();
Data_Mileage_ISR();
// if (RTE_GPIO_Get_Level(VSPEED_TEN_OUT)) // if (RTE_GPIO_Get_Level(VSPEED_TEN_OUT))
// { // {
...@@ -137,10 +138,10 @@ void Sys_Exact_50us_Tasks(void) ...@@ -137,10 +138,10 @@ void Sys_Exact_50us_Tasks(void)
task_100ms++; task_100ms++;
if(task_100ms >= 1996) if(task_100ms >= 1996)
{ {
task_100ms = 0u; task_100ms = 0u;
if(Get_MileageInit_Status() == 0X5AA53AA3UL) if(Get_MileageInit_Status() == 0X5AA53AA3UL)
{ {
Data_Mileage_ISR(); //Data_Mileage_ISR();
} }
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
#new Option #new Option
#Fri Sep 27 10:01:36 CST 2024 #Fri Sep 27 10:27:45 CST 2024
IsSort=true IsSort=true
MergeFlashIsCompression=false MergeFlashIsCompression=false
ChangeAppFilePath= ChangeAppFilePath=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment