Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
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
时昊
haoJin750TFT
Commits
36937bd8
Commit
36937bd8
authored
Oct 17, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改eepromBlock地址长度保证对齐
parent
a8669a87
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
Services_Mileage_User.c
Firmware/Source/Component/Mileage/Services_Mileage_User.c
+7
-7
Sys_Task_List.c
Firmware/Source/System/Sys_Task_List.c
+1
-1
No files found.
Firmware/Source/Component/Mileage/Services_Mileage_User.c
View file @
36937bd8
...
...
@@ -17,13 +17,13 @@ uint8_t odo_readState;
static
uint32_t
Data_User_EEPROM_Read
(
uint16_t
u16BlockID
,
uint32_t
u32Data
[],
uint16_t
u16Len
);
static
void
Data_User_EEPROM_Write
(
Data_EEPROM_Enum_t
BlockID
,
uint32_t
u32Data
[],
uint16_t
u16Len
);
#define EEPROM_BLOCK_00 0
#define EEPROM_BLOCK_01
16
#define EEPROM_BLOCK_02
32
#define EEPROM_BLOCK_03
48
#define EEPROM_BLOCK_04
64
#define EEPROM_BLOCK_05
8
0
#define EEPROM_BLOCK_06
96
#define EEPROM_BLOCK_00 0
x00
#define EEPROM_BLOCK_01
0x20
#define EEPROM_BLOCK_02
0x40
#define EEPROM_BLOCK_03
0x60
#define EEPROM_BLOCK_04
0x80
#define EEPROM_BLOCK_05
0xC
0
#define EEPROM_BLOCK_06
0xE0
...
...
Firmware/Source/System/Sys_Task_List.c
View file @
36937bd8
...
...
@@ -85,7 +85,7 @@ void Sys_100ms_Tasks(void)
Fuel_Cal_Sevice
(
100u
);
Services_Mileage_Callback
();
// Data_Mileage_Clear();
RTE_GPIO_Config
(
RTE_GPIO_PORT05_PIN04
,
GpioOut_High
);
//
RTE_GPIO_Config(RTE_GPIO_PORT05_PIN04, GpioOut_High);
//BackLight_Process();
//TimerM_PWM_set_duty(TIMERM_COUNTER1, TIMERM_CHB, 100);
...
...
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