Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
baizhengyuan
TianYing_ty100
Commits
1b99e267
Commit
1b99e267
authored
Sep 21, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:故障码问题,DTC2修改
parent
64e55c49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
code.c
Firmware/Source/Application/FaultCode/code.c
+4
-4
No files found.
Firmware/Source/Application/FaultCode/code.c
View file @
1b99e267
...
@@ -116,10 +116,10 @@ uint32_t Get_FaultCodeDtc2(void)
...
@@ -116,10 +116,10 @@ uint32_t Get_FaultCodeDtc2(void)
DTC2
|=
DTCM2
&
0xF
;
DTC2
|=
DTCM2
&
0xF
;
}
}
if
(
DTC2
==
0
)
//
if (DTC2 == 0)
{
//
{
return
0XFFFF
;
//
return 0XFFFF;
}
//
}
u16FaultCode
=
DTC2
;
u16FaultCode
=
DTC2
;
...
...
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