Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时昊
haoJin750TFT
Commits
149144a7
Commit
149144a7
authored
Aug 16, 2024
by
李延凯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改检测Flash中的MCU程序时, Flash偏移量不正确的问题
周期检测已关闭, 如果开启, 将不能使用CAN升级!
parent
f958e54b
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
197 deletions
+31
-197
AMT630H.c
Firmware/Source/Component/AMT630H/AMT630H.c
+5
-0
GraphicsFunc.c
Firmware/Source/Component/AMT630H/GraphicsFunc.c
+25
-196
Sys_Task_List.c
Firmware/Source/System/Sys_Task_List.c
+1
-1
No files found.
Firmware/Source/Component/AMT630H/AMT630H.c
View file @
149144a7
...
...
@@ -37,6 +37,9 @@ s_AMT630H_FlashCheck_t AMT630H_FlashCheck;
unsigned
long
Delay_Time
=
0
;
unsigned
long
Delay_Time_Set
=
0
;
extern
uint32_t
Check_Upgrade
;
extern
uint32_t
Check_Upgrade_Cnt
;
/* Refresh Time */
unsigned
long
AMT630H_RefreshTime
=
0
;
static
uint8_t
AMT630H_Animation_Start
=
0
;
...
...
@@ -306,6 +309,8 @@ void Amt630hInit(void)
AMT630H_FlashCheck
.
InquireTime
=
0
;
AMT630H_FlashCheck
.
CheckStateTime
=
0
;
AMT630H_FlashCheck
.
Result
=
0
;
Check_Upgrade
=
0
;
Check_Upgrade_Cnt
=
0
;
}
void
AMT630H_Sleep
(
void
)
{
...
...
Firmware/Source/Component/AMT630H/GraphicsFunc.c
View file @
149144a7
This diff is collapsed.
Click to expand it.
Firmware/Source/System/Sys_Task_List.c
View file @
149144a7
...
...
@@ -20,6 +20,7 @@ void Sys_2ms_Tasks(void)
Sys_Status_Update_Service
();
Analog_Signal_Conv_Service
();
AMT630H_Main
();
/* Check_MCU_Info_in_630H(); */
DoCAN_Timer_Update
(
2000u
);
//Can_Write_Fun(&CAN_CH0_CanMsgTxOp, 2000u);无外发
CanMSg_XMS_Analysis
(
&
CAN_CH0_CanMsgOp
,
2u
);
...
...
@@ -77,7 +78,6 @@ void Sys_100ms_Tasks(void)
ODOtest
=
Data_ODO_Read
();
Triptest
=
Data_Read_Trip
(
0
);
S3_ServerCNTT
();
Check_MCU_Info_in_630H
();
Get_DisTime_Service
();
Fuel_Cal_Sevice
(
100u
);
Coolant_Cal_Sevice
(
100u
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment