Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
TY
TianYing_ty100
Commits
46be5833
Commit
46be5833
authored
May 17, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改燃油采集及数据处理
parent
1bc9e3b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Data_Fuel.c
Firmware/Source/Application/Fuel/Data_Fuel.c
+4
-4
Analog_Signals.c
Firmware/Source/Component/Analog/Analog_Signals.c
+1
-1
Analog_Signals_TianYing200.xlsm
Firmware/utility/MCU_Cfg/cfg/Analog_Signals_TianYing200.xlsm
+0
-0
No files found.
Firmware/Source/Application/Fuel/Data_Fuel.c
View file @
46be5833
...
...
@@ -82,10 +82,10 @@ void Fuel_R_Cal(uint8_t deltaTime)
/*四舍五入*/
//if (FuelRes < 32000)
//{
if
(
FuelRes
%
10
>=
5
)
{
FuelRes
+=
5
;
}
//
if (FuelRes % 10 >= 5)
//
{
//
FuelRes += 5;
//
}
//}
//else
//{
...
...
Firmware/Source/Component/Analog/Analog_Signals.c
View file @
46be5833
...
...
@@ -90,7 +90,7 @@ const ADC_Res_List_st_t stADCResList[ADC_SIGNAL_CH_NUMBER] =
{
3300000U
,
1000000U
,
0U
,
0U
,},
{
3300000U
,
1000000U
,
0U
,
0U
,},
{
0U
,
0U
,
0U
,
0U
,},
{
0U
,
0U
,
67
0U
,
300U
,},
{
0U
,
0U
,
200
0U
,
300U
,},
};
/* Private function prototypes ----------------------------------------------*/
...
...
Firmware/utility/MCU_Cfg/cfg/Analog_Signals_TianYing200.xlsm
View file @
46be5833
No preview for this file type
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