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
425fb606
Commit
425fb606
authored
Apr 18, 2024
by
时昊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'shihao' into 'dev'
Shihao See merge request
!13
parents
a15e7c8f
9aaa74f2
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
85 additions
and
24 deletions
+85
-24
Popup_Scheduler.c
le19源码/Source/Application/Alarm/Popup_Scheduler.c
+6
-6
Popups.c
le19源码/Source/Application/Alarm/Popups.c
+38
-1
Gauge_Display.c
le19源码/Source/Application/Display/Gauge_Display.c
+41
-17
Geely_LE19_9900162744_BootApp_S1.03_240402.srec
...024-04-02/Geely_LE19_9900162744_BootApp_S1.03_240402.srec
+0
-0
Geely_LE19_9900162744_UpdateApp_S1.03_240402.srec
...4-04-02/Geely_LE19_9900162744_UpdateApp_S1.03_240402.srec
+0
-0
LE19软件自测报告.xlsx
utility/程序释放/le19_2024-04-02/LE19软件自测报告.xlsx
+0
-0
软件变更记录_le19.xlsx
utility/程序释放/le19_2024-04-02/软件变更记录_le19.xlsx
+0
-0
No files found.
le19源码/Source/Application/Alarm/Popup_Scheduler.c
View file @
425fb606
...
@@ -18,10 +18,10 @@ const PopupAttributeStruct PopupAttributeTable_1[POPUP_NUMBER_TOTAL] =
...
@@ -18,10 +18,10 @@ const PopupAttributeStruct PopupAttributeTable_1[POPUP_NUMBER_TOTAL] =
/*============================================================================================================================================================================================================================
/*============================================================================================================================================================================================================================
| 报警序号 |优先级 | 报警类 | 成员 | 数量| 播放模式 | 报警音 | 声音模式:持续/单周期| 保持时间*100ms |最小保持时间*100ms |
| 报警序号 |优先级 | 报警类 | 成员 | 数量| 播放模式 | 报警音 | 声音模式:持续/单周期| 保持时间*100ms |最小保持时间*100ms |
============================================================================================================================================================================================================================*/
============================================================================================================================================================================================================================*/
/* 雷达长鸣 */
{
12u
,
POPUP_Radar_Changming
,
NULL
,
1u
,
POPUP_MODE_LONG_HINT
,
SND_RADAR_Changming
,
POPUP_MODE_MULTI
,
0xFFFF
u
,
10u
,
},
/* 雷达长鸣 */
{
12u
,
POPUP_Radar_Changming
,
NULL
,
1u
,
POPUP_MODE_LONG_HINT
,
SND_RADAR_Changming
,
POPUP_MODE_MULTI
,
11
u
,
10u
,
},
/* 雷达1hz */
{
12u
,
POPUP_Radar_1HZ
,
NULL
,
1u
,
POPUP_MODE_LONG_HINT
,
SND_RADAR_1HZ
,
POPUP_MODE_MULTI
,
0xFFFF
u
,
10u
,
},
/* 雷达1hz */
{
12u
,
POPUP_Radar_1HZ
,
NULL
,
1u
,
POPUP_MODE_LONG_HINT
,
SND_RADAR_1HZ
,
POPUP_MODE_MULTI
,
11
u
,
10u
,
},
/* 雷达2hz */
{
12u
,
POPUP_Radar_2HZ
,
NULL
,
1u
,
POPUP_MODE_LONG_HINT
,
SND_RADAR_2HZ
,
POPUP_MODE_MULTI
,
0xFFFF
u
,
10u
,
},
/* 雷达2hz */
{
12u
,
POPUP_Radar_2HZ
,
NULL
,
1u
,
POPUP_MODE_LONG_HINT
,
SND_RADAR_2HZ
,
POPUP_MODE_MULTI
,
11
u
,
10u
,
},
/* 雷达4hz */
{
12u
,
POPUP_Radar_4HZ
,
NULL
,
1u
,
POPUP_MODE_LONG_HINT
,
SND_RADAR_4HZ
,
POPUP_MODE_MULTI
,
0xFFFF
u
,
10u
,
},
/* 雷达4hz */
{
12u
,
POPUP_Radar_4HZ
,
NULL
,
1u
,
POPUP_MODE_LONG_HINT
,
SND_RADAR_4HZ
,
POPUP_MODE_MULTI
,
11
u
,
10u
,
},
/* 倒车雷达系统故障 */
{
12u
,
POPUP_RADAR_SYSTEM_FAILURE
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_RADAR_2S
,
POPUP_MODE_SINGLE
,
30u
,
10u
,
},
/* 倒车雷达系统故障 */
{
12u
,
POPUP_RADAR_SYSTEM_FAILURE
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_RADAR_2S
,
POPUP_MODE_SINGLE
,
30u
,
10u
,
},
/* 倒车雷达传感器故障 */
{
12u
,
POPUP_RADAR_SENSOR_FAILURE
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_RADAR_2S
,
POPUP_MODE_SINGLE
,
20u
,
10u
,
},
/* 倒车雷达传感器故障 */
{
12u
,
POPUP_RADAR_SENSOR_FAILURE
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_RADAR_2S
,
POPUP_MODE_SINGLE
,
20u
,
10u
,
},
/* 雷达开关故障 */
{
0u
,
POPUP_RADAR_SWITCH_FAILURE
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_RADAR_0S
,
POPUP_MODE_SINGLE
,
30u
,
10u
,
},
/* 雷达开关故障 */
{
0u
,
POPUP_RADAR_SWITCH_FAILURE
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_RADAR_0S
,
POPUP_MODE_SINGLE
,
30u
,
10u
,
},
...
@@ -38,7 +38,7 @@ const PopupAttributeStruct PopupAttributeTable_1[POPUP_NUMBER_TOTAL] =
...
@@ -38,7 +38,7 @@ const PopupAttributeStruct PopupAttributeTable_1[POPUP_NUMBER_TOTAL] =
/* 电机故障 */
{
9u
,
POPUP_MotorFault
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_MotorFault
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* 电机故障 */
{
9u
,
POPUP_MotorFault
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_MotorFault
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* 动力电池报警 */
{
10u
,
POPUP_SOC_Fault
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_SOC_Fault
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* 动力电池报警 */
{
10u
,
POPUP_SOC_Fault
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_SOC_Fault
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* 高压绝缘故障 */
{
11u
,
POPUP_InsulationFault
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_InsulationFault
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* 高压绝缘故障 */
{
11u
,
POPUP_InsulationFault
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_InsulationFault
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* 电池热失控 */
{
1u
,
POPUP_SOC_HT
,
NULL
,
1u
,
POPUP_MODE_LONG_HINT
,
SND_SOC_HT
,
POPUP_MODE_MULTI
,
0xFFFF
u
,
10u
,
},
/* 电池热失控 */
{
1u
,
POPUP_SOC_HT
,
NULL
,
1u
,
POPUP_MODE_LONG_HINT
,
SND_SOC_HT
,
POPUP_MODE_MULTI
,
11
u
,
10u
,
},
/* 单踏板功能激活 */
{
13u
,
POPUP_Energy_Recovery
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_Energy_Recovery
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* 单踏板功能激活 */
{
13u
,
POPUP_Energy_Recovery
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_Energy_Recovery
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* 单踏板功能激活 1HZ 3次 1.4变更新增 */
{
13u
,
POPUP_Energy_Recovery_1
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_Energy_Recovery_1
,
POPUP_MODE_MULTI
,
0xFFFFu
,
10u
,
},
/* 单踏板功能激活 1HZ 3次 1.4变更新增 */
{
13u
,
POPUP_Energy_Recovery_1
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_Energy_Recovery_1
,
POPUP_MODE_MULTI
,
0xFFFFu
,
10u
,
},
/* ECO状态激活 */
{
14u
,
POPUP_ECO
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_ECO
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* ECO状态激活 */
{
14u
,
POPUP_ECO
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_ECO
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
...
@@ -61,7 +61,7 @@ const PopupAttributeStruct PopupAttributeTable_1[POPUP_NUMBER_TOTAL] =
...
@@ -61,7 +61,7 @@ const PopupAttributeStruct PopupAttributeTable_1[POPUP_NUMBER_TOTAL] =
/* OTA 报警4 */
{
22u
,
POPUP_OTA_4
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_OTA_4
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* OTA 报警4 */
{
22u
,
POPUP_OTA_4
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_OTA_4
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* OTA 报警5 */
{
22u
,
POPUP_OTA_5
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_OTA_5
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* OTA 报警5 */
{
22u
,
POPUP_OTA_5
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_OTA_5
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* OTA 报警5 */
{
22u
,
POPUP_ESC
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_ESC
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* OTA 报警5 */
{
22u
,
POPUP_ESC
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_ESC
,
POPUP_MODE_SINGLE
,
11u
,
10u
,
},
/* 超速报警 */
{
13u
,
POPUP_Over_Speed
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_Over_Speed
,
POPUP_MODE_SINGLE
,
40
u
,
10u
,
},
/* 超速报警 */
{
13u
,
POPUP_Over_Speed
,
NULL
,
1u
,
POPUP_MODE_SHORT_HINT
,
SND_Over_Speed
,
POPUP_MODE_SINGLE
,
11
u
,
10u
,
},
/*==========================================================================================================================================================================================================================================*/
/*==========================================================================================================================================================================================================================================*/
};
};
...
...
le19源码/Source/Application/Alarm/Popups.c
View file @
425fb606
...
@@ -507,6 +507,8 @@ void Popups_Polling(void)
...
@@ -507,6 +507,8 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
Popup_Request
(
POPUP_Radar_1HZ
);
Popup_Request
(
POPUP_Radar_1HZ
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_4HZ
);
}
}
else
if
(
RADAR_SOUND
==
POPUP_Radar_2HZ
)
else
if
(
RADAR_SOUND
==
POPUP_Radar_2HZ
)
{
{
...
@@ -516,6 +518,8 @@ void Popups_Polling(void)
...
@@ -516,6 +518,8 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
Popup_Request
(
POPUP_Radar_2HZ
);
Popup_Request
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_1HZ
);
Popup_Clear
(
POPUP_Radar_4HZ
);
}
}
else
if
(
RADAR_SOUND
==
POPUP_Radar_4HZ
)
else
if
(
RADAR_SOUND
==
POPUP_Radar_4HZ
)
{
{
...
@@ -525,6 +529,8 @@ void Popups_Polling(void)
...
@@ -525,6 +529,8 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
Popup_Request
(
POPUP_Radar_4HZ
);
Popup_Request
(
POPUP_Radar_4HZ
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_1HZ
);
Popup_Clear
(
POPUP_Radar_2HZ
);
}
}
else
if
(
RADAR_SOUND
==
POPUP_Radar_Changming
)
else
if
(
RADAR_SOUND
==
POPUP_Radar_Changming
)
{
{
...
@@ -533,15 +539,20 @@ void Popups_Polling(void)
...
@@ -533,15 +539,20 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_Radar_4HZ
);
PopupAndSound_Delete
(
POPUP_Radar_4HZ
);
PopupAndSound_Delete
(
POPUP_Radar_1HZ
);
PopupAndSound_Delete
(
POPUP_Radar_1HZ
);
Popup_Request
(
POPUP_Radar_Changming
);
Popup_Request
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_1HZ
);
Popup_Clear
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_4HZ
);
}
}
else
else
{
{
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
PopupAndSound_Delete
(
POPUP_Radar_4HZ
);
PopupAndSound_Delete
(
POPUP_Radar_4HZ
);
PopupAndSound_Delete
(
POPUP_Radar_1HZ
);
PopupAndSound_Delete
(
POPUP_Radar_1HZ
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_1HZ
);
Popup_Clear
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_4HZ
);
}
}
}
}
else
else
...
@@ -550,7 +561,10 @@ void Popups_Polling(void)
...
@@ -550,7 +561,10 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_Radar_4HZ
);
PopupAndSound_Delete
(
POPUP_Radar_4HZ
);
PopupAndSound_Delete
(
POPUP_Radar_1HZ
);
PopupAndSound_Delete
(
POPUP_Radar_1HZ
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_1HZ
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_4HZ
);
}
}
}
}
else
else
...
@@ -559,7 +573,10 @@ void Popups_Polling(void)
...
@@ -559,7 +573,10 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_Radar_4HZ
);
PopupAndSound_Delete
(
POPUP_Radar_4HZ
);
PopupAndSound_Delete
(
POPUP_Radar_1HZ
);
PopupAndSound_Delete
(
POPUP_Radar_1HZ
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_1HZ
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_4HZ
);
}
}
}
}
else
if
(
Val_EOL_F102_RadarType
()
==
3
)
else
if
(
Val_EOL_F102_RadarType
()
==
3
)
...
@@ -575,6 +592,8 @@ void Popups_Polling(void)
...
@@ -575,6 +592,8 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
Popup_Request
(
POPUP_Radar_2HZ
);
Popup_Request
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_4HZ
);
Popup_Clear
(
POPUP_RADAR_SENSOR_FAILURE
);
break
;
break
;
case
2
:
//4hz
case
2
:
//4hz
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
...
@@ -583,6 +602,8 @@ void Popups_Polling(void)
...
@@ -583,6 +602,8 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_RADAR_SENSOR_FAILURE
);
PopupAndSound_Delete
(
POPUP_RADAR_SENSOR_FAILURE
);
Popup_Request
(
POPUP_Radar_4HZ
);
Popup_Request
(
POPUP_Radar_4HZ
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_RADAR_SENSOR_FAILURE
);
break
;
break
;
case
3
:
//长鸣
case
3
:
//长鸣
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
...
@@ -590,6 +611,9 @@ void Popups_Polling(void)
...
@@ -590,6 +611,9 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_RADAR_CHECK_OK
);
PopupAndSound_Delete
(
POPUP_RADAR_CHECK_OK
);
PopupAndSound_Delete
(
POPUP_RADAR_SENSOR_FAILURE
);
PopupAndSound_Delete
(
POPUP_RADAR_SENSOR_FAILURE
);
Popup_Request
(
POPUP_Radar_Changming
);
Popup_Request
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_4HZ
);
Popup_Clear
(
POPUP_RADAR_SENSOR_FAILURE
);
break
;
break
;
case
4
:
//长鸣0.5s
case
4
:
//长鸣0.5s
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
...
@@ -598,6 +622,9 @@ void Popups_Polling(void)
...
@@ -598,6 +622,9 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_RADAR_SENSOR_FAILURE
);
PopupAndSound_Delete
(
POPUP_RADAR_SENSOR_FAILURE
);
Popup_Request
(
POPUP_RADAR_CHECK_OK
);
Popup_Request
(
POPUP_RADAR_CHECK_OK
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_4HZ
);
Popup_Clear
(
POPUP_RADAR_SENSOR_FAILURE
);
break
;
break
;
case
5
:
//雷达故障 长鸣2s
case
5
:
//雷达故障 长鸣2s
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
...
@@ -606,6 +633,8 @@ void Popups_Polling(void)
...
@@ -606,6 +633,8 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
Popup_Request
(
POPUP_RADAR_SENSOR_FAILURE
);
Popup_Request
(
POPUP_RADAR_SENSOR_FAILURE
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_4HZ
);
break
;
break
;
case
6
:
//雷达数据超时 长鸣2s
case
6
:
//雷达数据超时 长鸣2s
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
...
@@ -614,6 +643,8 @@ void Popups_Polling(void)
...
@@ -614,6 +643,8 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
Popup_Request
(
POPUP_RADAR_SENSOR_FAILURE
);
Popup_Request
(
POPUP_RADAR_SENSOR_FAILURE
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_4HZ
);
break
;
break
;
default:
//0 不报警
default:
//0 不报警
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
PopupAndSound_Delete
(
POPUP_Radar_2HZ
);
...
@@ -622,6 +653,9 @@ void Popups_Polling(void)
...
@@ -622,6 +653,9 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_RADAR_SENSOR_FAILURE
);
PopupAndSound_Delete
(
POPUP_RADAR_SENSOR_FAILURE
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_4HZ
);
Popup_Clear
(
POPUP_RADAR_SENSOR_FAILURE
);
break
;
break
;
}
}
}
}
...
@@ -633,6 +667,9 @@ void Popups_Polling(void)
...
@@ -633,6 +667,9 @@ void Popups_Polling(void)
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_Radar_Changming
);
PopupAndSound_Delete
(
POPUP_RADAR_SENSOR_FAILURE
);
PopupAndSound_Delete
(
POPUP_RADAR_SENSOR_FAILURE
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_Changming
);
Popup_Clear
(
POPUP_Radar_2HZ
);
Popup_Clear
(
POPUP_Radar_4HZ
);
Popup_Clear
(
POPUP_RADAR_SENSOR_FAILURE
);
}
}
}
}
else
else
...
...
le19源码/Source/Application/Display/Gauge_Display.c
View file @
425fb606
...
@@ -309,20 +309,27 @@ void Gauge_Power_Display(void)
...
@@ -309,20 +309,27 @@ void Gauge_Power_Display(void)
}
}
else
//PTModeInd = 1,且有效时
else
//PTModeInd = 1,且有效时
{
{
if
(
BattCurr
.
Val
ue
==
0
)
if
(
BattCurr
.
Val
id
==
1
)
{
{
SEG_SET_PowerDial
(
1u
,
0u
,
0u
,
0u
);
if
(
BattCurr
.
Value
==
0
)
{
SEG_SET_PowerDial
(
1u
,
0u
,
0u
,
0u
);
}
else
{
//-1格和-50%
SEG_SET_PowerDial
(
1u
,
0x81u
,
1u
,
50u
);
if
(
BattCurr
.
Value
>
5000
)
{
//-1 -2格和-100%
SEG_SET_PowerDial
(
1u
,
0x82u
,
1u
,
100u
);
}
}
}
}
else
else
{
{
//-1格和-50%
SEG_SET_PowerDial
(
1u
,
0u
,
0u
,
255u
);
SEG_SET_PowerDial
(
1u
,
0x81u
,
1u
,
50u
);
if
(
BattCurr
.
Value
>
5000
)
{
//-1 -2格和-100%
SEG_SET_PowerDial
(
1u
,
0x82u
,
1u
,
100u
);
}
}
}
}
}
}
}
...
@@ -422,13 +429,15 @@ void Gauge_Battery_Display(void)
...
@@ -422,13 +429,15 @@ void Gauge_Battery_Display(void)
******************************************************************************/
******************************************************************************/
extern
uint8_t
Can18fee69f_receive
;
extern
uint8_t
Can18fee69f_receive
;
void
Gauge_Clock_Display
(
void
)
void
Gauge_Clock_Display
(
void
)
{
{
uint16_t
Year_FLAG
=
0u
;
uint8_t
Month_FLAG
=
0u
;
uint8_t
Date_FLAG
=
0u
;
uint8_t
Hour_FLAG
=
0
;
uint8_t
Minute_FLAG
=
0
;
uint8_t
Second_FLAG
=
0
;
if
(
SYS_OPR_STAT_IGN_ON
)
if
(
SYS_OPR_STAT_IGN_ON
)
{
{
//��ȡʱ��
RTCTimeCurrent
.
Hour
=
Get_ID_18FEE69F_Sig_TBOX_Hour
(
);
RTCTimeCurrent
.
Minute
=
Get_ID_18FEE69F_Sig_TBOX_Minute
(
);
//ʱ����ʾ
//ʱ����ʾ
if
(
Factory_ClearOdo_Display_Flag
==
0
)
if
(
Factory_ClearOdo_Display_Flag
==
0
)
{
{
...
@@ -439,10 +448,25 @@ void Gauge_Clock_Display(void)
...
@@ -439,10 +448,25 @@ void Gauge_Clock_Display(void)
}
}
else
else
{
{
SEG_SET_Clock
(
RTCTimeCurrent
.
Hour
,
RTCTimeCurrent
.
Minute
,
FLASH_SYNC_1Hz
,
1
,
1
);
Year_FLAG
=
(
uint16_t
)(
Get_ID_18FEE69F_Sig_TBOX_Year
());
Month_FLAG
=
(
uint8_t
)
Get_ID_18FEE69F_Sig_TBOX_Month
();
Date_FLAG
=
(
uint8_t
)
Get_ID_18FEE69F_Sig_TBOX_Day
()
>>
2
;
Hour_FLAG
=
(
uint8_t
)
Get_ID_18FEE69F_Sig_TBOX_Hour
();
Minute_FLAG
=
(
uint8_t
)
Get_ID_18FEE69F_Sig_TBOX_Minute
();
Second_FLAG
=
(
uint8_t
)
Get_ID_18FEE69F_Sig_TBOX_Second
()
>>
2
;
if
((
Year_FLAG
<=
0xFAu
)
&&
(
Month_FLAG
>=
1u
)
&&
(
Month_FLAG
<=
12u
)
&&
\
(
Date_FLAG
>=
1u
)
&&
(
Date_FLAG
<=
31u
)
&&
(
Hour_FLAG
<
24u
)
&&
\
(
Minute_FLAG
<
60u
)
&&
(
Second_FLAG
<
60u
))
{
SEG_SET_Clock
(
Hour_FLAG
,
Minute_FLAG
,
FLASH_SYNC_1Hz
,
1
,
1
);
}
else
{
SEG_SET_Clock
(
0
,
0
,
FLASH_SYNC_1Hz
,
1
,
1
);
}
}
}
}
}
}
}
else
else
{
{
...
...
utility/程序释放/le19_2024-04-02/Geely_LE19_9900162744_BootApp_S1.03_240402.srec
0 → 100644
View file @
425fb606
This diff is collapsed.
Click to expand it.
utility/程序释放/le19_2024-04-02/Geely_LE19_9900162744_UpdateApp_S1.03_240402.srec
0 → 100644
View file @
425fb606
This diff is collapsed.
Click to expand it.
utility/程序释放/le19_2024-04-02/LE19软件自测报告.xlsx
0 → 100644
View file @
425fb606
File added
utility/程序释放/le19_2024-04-02/软件变更记录_le19.xlsx
0 → 100644
View file @
425fb606
File added
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