Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RT_RMR42E
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
时昊
RT_RMR42E
Commits
2a3c733a
Commit
2a3c733a
authored
Jul 09, 2024
by
郑萍
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:高低压保护范围修改
parent
0552f959
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
BackLight.c
Firmware/Source/Application/BackLight/BackLight.c
+1
-1
GUI_Display.c
Firmware/Source/Application/GUI_Display/GUI_Display.c
+1
-1
System_Monitor_User.c
...are/Source/Component/System_Monitor/System_Monitor_User.c
+5
-5
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+1
-1
No files found.
Firmware/Source/Application/BackLight/BackLight.c
View file @
2a3c733a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
#define BACK_LIGHT_DAY 200
#define BACK_LIGHT_DAY 200
#define openLED_flag (Get_CAN_Power_State() != PKEY_ON && Get_CAN_Power_State() != KEY_OFF
&&(ADC_Read_Signal(ADC_CH_KL30_VOLTAGE) <= 16000 && ADC_Read_Signal(ADC_CH_KL30_VOLTAGE) >= 9000)
)
#define openLED_flag (Get_CAN_Power_State() != PKEY_ON && Get_CAN_Power_State() != KEY_OFF )
uint8_t
interact_PWM_Low_Duty
=
0
;
uint8_t
interact_PWM_Low_Duty
=
0
;
void
BackLight_Process
(
void
)
void
BackLight_Process
(
void
)
...
...
Firmware/Source/Application/GUI_Display/GUI_Display.c
View file @
2a3c733a
...
@@ -316,7 +316,7 @@ void Clear_Bu98(void)
...
@@ -316,7 +316,7 @@ void Clear_Bu98(void)
void
Gauge_Service
(
void
)
void
Gauge_Service
(
void
)
{
{
uint8_t
i
=
0
;
uint8_t
i
=
0
;
if
(
Common_Get_IG_Sts
()
==
COMMON_POWER_ON
&&
ADC_Read_Signal
(
ADC_CH_KL30_VOLTAGE
)
<=
16000
&&
ADC_Read_Signal
(
ADC_CH_KL30_VOLTAGE
)
>=
9000
)
if
(
Common_Get_IG_Sts
()
==
COMMON_POWER_ON
)
{
{
if
(
Get_CAN_Power_State
()
!=
PKEY_ON
)
if
(
Get_CAN_Power_State
()
!=
PKEY_ON
)
{
{
...
...
Firmware/Source/Component/System_Monitor/System_Monitor_User.c
View file @
2a3c733a
...
@@ -10,10 +10,10 @@
...
@@ -10,10 +10,10 @@
#define u16ENTER_LOW_Y_RANGE 9000U
#define u16ENTER_LOW_Y_RANGE 9000U
#define u16EXIT_LOW_Y_RANGE 10000U
#define u16EXIT_LOW_Y_RANGE 10000U
#define u16EXIT_HIGH_Y_RANGE 1
75
00U
#define u16EXIT_HIGH_Y_RANGE 1
60
00U
#define u16ENTER_HIGH_Y_RANGE 1
80
00U
#define u16ENTER_HIGH_Y_RANGE 1
75
00U
#define u16EXIT_HIGH_N_RANGE 1
75
00U
#define u16EXIT_HIGH_N_RANGE 1
80
00U
#define u16ENTER_HIGH_N_RANGE 18
0
00U
#define u16ENTER_HIGH_N_RANGE 18
5
00U
#define u16Top_Vol 0xffffu
#define u16Top_Vol 0xffffu
...
@@ -36,7 +36,7 @@ static const monitorlib_uint16_t SysFun_Range [ 26u ] = {
...
@@ -36,7 +36,7 @@ static const monitorlib_uint16_t SysFun_Range [ 26u ] = {
u16ENTER_HIGH_N_RANGE
,
u16ENTER_HIGH_N_RANGE
,
u16Top_Vol
,
u16Top_Vol
,
25
00
,
50
00
,
50u
,
50u
,
u16Base_Vol
,
u16Base_Vol
,
...
...
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
2a3c733a
...
@@ -373,7 +373,7 @@ static Tellib_uint16_t LED_Battery_Charging_Judgement(void)
...
@@ -373,7 +373,7 @@ static Tellib_uint16_t LED_Battery_Charging_Judgement(void)
Tellib_uint8_t
Signal1
=
Get_CAN_Num_MBMS_TOTALSigAcc
();
Tellib_uint8_t
Signal1
=
Get_CAN_Num_MBMS_TOTALSigAcc
();
Tellib_uint8_t
Signal2
=
Get_CAN_Num_MBMS_TOTALSigCharge
();
Tellib_uint8_t
Signal2
=
Get_CAN_Num_MBMS_TOTALSigCharge
();
Tellib_uint8_t
Signal3
=
Get_CAN_Power_State
();
Tellib_uint8_t
Signal3
=
Get_CAN_Power_State
();
if
(
ADC_Read_Signal
(
ADC_CH_KL30_VOLTAGE
)
>=
9000
&&
ADC_Read_Signal
(
ADC_CH_KL30_VOLTAGE
)
<=
16000
&&
(
Get_CAN_Power_State
()
!=
PKEY_ON
&&
Get_CAN_Power_State
()
!=
KEY_OFF
&&
Charge_OFF_Flag
!=
2
))
if
(
(
Get_CAN_Power_State
()
!=
PKEY_ON
&&
Get_CAN_Power_State
()
!=
KEY_OFF
&&
Charge_OFF_Flag
!=
2
))
{
{
if
((
Signal1
==
0x1
||
Signal1
==
0x0
)
&&
Signal2
==
0X1
)
if
((
Signal1
==
0x1
||
Signal1
==
0x0
)
&&
Signal2
==
0X1
)
{
{
...
...
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