Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LE19
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
时昊
LE19
Commits
25f29724
Commit
25f29724
authored
Mar 21, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:40584修改can上30电默认在线
parent
80a9a11c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
CAN_Communication_Matrix.c
le19源码/Source/Application/CAN_App/CAN_Communication_Matrix.c
+1
-1
CAN_Communication_Matrix.h
le19源码/Source/Application/CAN_App/CAN_Communication_Matrix.h
+1
-1
Gauge_Display.c
le19源码/Source/Application/Display/Gauge_Display.c
+3
-1
PowerManagement.c
le19源码/Source/Application/Power/PowerManagement.c
+7
-1
No files found.
le19源码/Source/Application/CAN_App/CAN_Communication_Matrix.c
View file @
25f29724
...
...
@@ -357,7 +357,7 @@ const st_CANMsgAttribute CAN_MSG_CONST_ARRAY[ID_TOTAL_MAX] =
5000ul
,
0x18FEE69Ful
,
((
void
*
)
0
),
((
void
*
)
0
)
,
Can_Receive
,
((
void
*
)
0
),
},
{
...
...
le19源码/Source/Application/CAN_App/CAN_Communication_Matrix.h
View file @
25f29724
...
...
@@ -286,5 +286,5 @@ void Can_Set_Buff_18FF6F17(canlib_uint8_t *CopyData);
//void Can_Set_Buff_18FF4117(canlib_uint8_t *CopyData);
void
Can_Set_Buff_18FEDA17
(
canlib_uint8_t
*
CopyData
);
void
Can_Set_Buff_18FEE017
(
canlib_uint8_t
*
CopyData
);
void
Can_Receive
(
uint8_t
val
[]);
#endif
le19源码/Source/Application/Display/Gauge_Display.c
View file @
25f29724
...
...
@@ -414,6 +414,7 @@ void Gauge_Battery_Display(void)
* \attention �÷��������뱻ʵʱ����
* \retval ��
******************************************************************************/
extern
uint8_t
Can18fee69f_receive
;
void
Gauge_Clock_Display
(
void
)
{
if
(
SYS_OPR_STAT_IGN_ON
)
...
...
@@ -425,8 +426,9 @@ void Gauge_Clock_Display(void)
//ʱ����ʾ
if
(
Factory_ClearOdo_Display_Flag
==
0
)
{
if
(
CAN_MSG_Status
(
ID_can0x18FEE69F_Msg_Count
)
!=
0u
)
if
(
(
CAN_MSG_Status
(
ID_can0x18FEE69F_Msg_Count
)
!=
0u
)
||
(
Can18fee69f_receive
!=
1
)
)
{
Can18fee69f_receive
=
0
;
SEG_SET_Clock
(
0
,
0
,
0
,
0
,
0
);
}
else
...
...
le19源码/Source/Application/Power/PowerManagement.c
View file @
25f29724
...
...
@@ -73,8 +73,12 @@ uint32_t TestBackupRam;
uint16_t
CANModeInitFlag
=
0U
;
extern
uint32_t
Factory_ClearOdo_Display_Flag
;
uint8_t
Can18fee69f_receive
=
0
;
void
Can_Receive
(
uint8_t
val
[])
{
Can18fee69f_receive
=
1
;
}
uint16_t
SleepTime_Timing
;
...
...
@@ -349,6 +353,7 @@ void Power_KL30_Init(void)
Temp_Calc_Init
();
Maintenance_Init_Example
();
EnergyRecovery_KL30_Init
();
Can18fee69f_receive
=
0
;
}
/**********************************************************************************************************
*@Function: Power_Wakeup_Init
...
...
@@ -383,6 +388,7 @@ void Power_Wakeup_Init(void)
Temp_Calc_Init
();
LED_Driver_Init_Wakeup
(
u8LEDDriverRamData
,
&
led_dr
);
Maintenance_Init_Example
();
Can18fee69f_receive
=
0
;
}
/**********************************************************************************************************
*@Function: Power_Management_Init
...
...
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