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
86dd5796
Commit
86dd5796
authored
8 months ago
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改默认菜单项勾选
parent
3018a863
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Menu_Interface.c
Firmware/Source/Component/Menu/Menu_Interface.c
+8
-0
No files found.
Firmware/Source/Component/Menu/Menu_Interface.c
View file @
86dd5796
...
...
@@ -65,6 +65,10 @@ void Menu_User_Init(void)
Menu_Init_st
.
enMenuItemLen
=
MENU_ITEM_MAX
;
Menu_Init_st
.
uintMenuConfig
=
0x0001
;
Menu_Init_st
.
uintMenuCursorMemoryDepth
=
0
;
Menu_Item_Select_Set
(
MENU_ITEM_SELECT_DAYTIME
,
1
);
Menu_Item_Select_Set
(
MENU_ITEM_BACKLIGHT_4
,
1
);
Menu_Item_Select_Set
(
MENU_ITEM_UNIT_KM
,
1
);
Menu_Item_Select_Set
(
MENU_ITEM_LANGUAGE_CHINESE
,
1
);
Menu_Init
((
uint8_t
*
)
u8MenuRamData
,
(
Menu_Item_Attribute_st_t
*
)
stMenuItemAttribute
,
(
Menu_Init_st_t
*
)
&
Menu_Init_st
);
}
...
...
@@ -76,6 +80,10 @@ void Menu_User_WAKEUP(void)
Menu_Init_st
.
enMenuItemLen
=
MENU_ITEM_MAX
;
Menu_Init_st
.
uintMenuConfig
=
0x0001
;
Menu_Init_st
.
uintMenuCursorMemoryDepth
=
0
;
Menu_Item_Select_Set
(
MENU_ITEM_SELECT_DAYTIME
,
1
);
Menu_Item_Select_Set
(
MENU_ITEM_BACKLIGHT_4
,
1
);
Menu_Item_Select_Set
(
MENU_ITEM_UNIT_KM
,
1
);
Menu_Item_Select_Set
(
MENU_ITEM_LANGUAGE_CHINESE
,
1
);
Menu_Wake_Up_Init
((
uint8_t
*
)
u8MenuRamData
,
(
Menu_Item_Attribute_st_t
*
)
stMenuItemAttribute
,
(
Menu_Init_st_t
*
)
&
Menu_Init_st
);
}
...
...
This diff is collapsed.
Click to expand it.
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