Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
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
陈家乐
jiancetai
Commits
0ed24376
Commit
0ed24376
authored
Aug 01, 2024
by
王佳伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:车速转速水温表最大,E灯HEV灯TCS关闭指示灯亮
parent
c3640259
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
23 deletions
+14
-23
APP_Test.c
Test_Bench/Api_Sources/APP_Test.c
+13
-22
APP_Test.h
Test_Bench/App_Headers/APP_Test.h
+1
-1
No files found.
Test_Bench/Api_Sources/APP_Test.c
View file @
0ed24376
...
...
@@ -34,7 +34,7 @@ void APP_Test_Init(void){
EOLStep
=
0
;
EOLError
=
0
;
}
unsigned
int
count_flag_a
=
0
;
unsigned
int
count_flag_a
=
1
;
unsigned
int
speed_value
=
0
;
void
APP_Button_Proc
(
void
){
/*if(Key.PushTime_1 > T_3s){
...
...
@@ -85,30 +85,20 @@ unsigned int CAN_lost_flag = 0;
unsigned
int
water_value
=
0
;
void
APP_ICM_Proc
(
void
)
/*zh321*/
/*FS04*/
{
// if(CAN_init_flag==1)
// {
// Api_CAN_Init();
// CAN_init_flag=0;
// }
// if(CAN_lost_flag ==1)
// {
// Disable_CAN_Tx();
// CAN_lost_flag = 0;
// }
if
(
count_flag_a
==
1
)
//if(count_flag_a==1)
{
{
//CurValueStr[ENUM_VSpeed ].val = 0;//
CurValueStr
[
ENUM_RSpeed
].
val
=
0
;
//ת
CurValueStr
[
ENUM_WaterTemp
].
val
=
0
;
//ˮ
CurValueStr
[
ISG_Ready
].
val
=
0
;
CurValueStr
[
ISG_Power
].
val
=
0
;
CurValueStr
[
ISG_Power_Enable
].
val
=
0
;
CurValueStr
[
TCS_Warning_Lamp
].
val
=
0
;
CurValueStr
[
TCS_Work_Mode
].
val
=
0
;
CurValueStr
[
ENUM_VSpeed
].
val
=
199
;
//
CurValueStr
[
ENUM_RSpeed
].
val
=
12000
;
//ת
CurValueStr
[
ENUM_WaterTemp
].
val
=
122
;
//ˮ
CurValueStr
[
ISG_Ready
].
val
=
1
;
CurValueStr
[
ISG_Power
].
val
=
1
;
CurValueStr
[
ISG_Power_Enable
].
val
=
1
;
CurValueStr
[
TCS_Warning_Lamp
].
val
=
1
;
CurValueStr
[
TCS_Work_Mode
].
val
=
1
;
#if 0
switch(Key.CAN_Step)
{
case 1:
...
...
@@ -352,6 +342,7 @@ void APP_ICM_Proc(void) /*zh321*/ /*FS04*/
}
}break;
}
#endif
}
}
}
...
...
Test_Bench/App_Headers/APP_Test.h
View file @
0ed24376
...
...
@@ -40,7 +40,7 @@ typedef struct{
enum
{
ENUM_VSpeed
=
0
,
//����
ENUM_RSpeed
,
//
锟?
?锟??
ENUM_RSpeed
,
//
�??�
??
ENUM_WaterTemp
,
// 温度
TCS_Warning_Lamp
,
//前轮胎压
TCS_Work_Mode
,
//后轮胎压
...
...
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