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
1359cab7
Commit
1359cab7
authored
Jul 18, 2024
by
郑萍
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:51363 【润通草地车】【欠压保护】从正常电压逐步上升至高压,仪表背光不熄灭,屏幕伴随着闪烁
parent
9668a503
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
System_Monitor_User.c
...are/Source/Component/System_Monitor/System_Monitor_User.c
+4
-3
No files found.
Firmware/Source/Component/System_Monitor/System_Monitor_User.c
View file @
1359cab7
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
#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
65
00U
#define u16EXIT_HIGH_Y_RANGE 1
70
00U
#define u16ENTER_HIGH_Y_RANGE 17
0
00U
#define u16ENTER_HIGH_Y_RANGE 17
5
00U
#define u16EXIT_HIGH_N_RANGE 17500U
#define u16EXIT_HIGH_N_RANGE 17500U
#define u16ENTER_HIGH_N_RANGE 18000U
#define u16ENTER_HIGH_N_RANGE 18000U
#define u16Top_Vol 0xffffu
#define u16Top_Vol 0xffffu
...
@@ -59,7 +59,7 @@ static const monitorlib_uint16_t SysFun_Range [ 26u ] = {
...
@@ -59,7 +59,7 @@ static const monitorlib_uint16_t SysFun_Range [ 26u ] = {
2u
,
2u
,
0u
,
0u
,
};
};
monitorlib_uint16_t
u16Voltage_KL15
;
monitorlib_uint16_t
Sys_Read_KL30_Voltage_F
(
void
)
monitorlib_uint16_t
Sys_Read_KL30_Voltage_F
(
void
)
{
{
monitorlib_uint16_t
u16Voltage
;
monitorlib_uint16_t
u16Voltage
;
...
@@ -85,6 +85,7 @@ monitorlib_uint16_t Sys_Read_KL15_Voltage(void)
...
@@ -85,6 +85,7 @@ monitorlib_uint16_t Sys_Read_KL15_Voltage(void)
{
{
monitorlib_uint16_t
u16Voltage
;
monitorlib_uint16_t
u16Voltage
;
u16Voltage
=
(
monitorlib_uint16_t
)
ADC_Read_Signal
(
ADC_CH_KL15_VOLTAGE
);
u16Voltage
=
(
monitorlib_uint16_t
)
ADC_Read_Signal
(
ADC_CH_KL15_VOLTAGE
);
u16Voltage_KL15
=
(
monitorlib_uint16_t
)
ADC_Read_Signal
(
ADC_CH_KL15_VOLTAGE
);
return
u16Voltage
;
return
u16Voltage
;
}
}
...
...
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