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
b8266562
Commit
b8266562
authored
Jul 09, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:增加时钟设置4个菜单项,增加蓝牙连接app菜单项,修改各个菜单项的回调函数
parent
e34f3caf
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
354 additions
and
227 deletions
+354
-227
Menu.h
Firmware/Source/Component/Menu/Menu.h
+16
-3
Menu_Interface.c
Firmware/Source/Component/Menu/Menu_Interface.c
+338
-224
No files found.
Firmware/Source/Component/Menu/Menu.h
View file @
b8266562
...
...
@@ -56,8 +56,7 @@ typedef enum
MENU_ITEM_BACKLIGHT_1
,
/*06 背光_1*/
MENU_ITEM_BACKLIGHT_AUTO
,
/*05 背光自动*/
MENU_ITEM_BLUETOOTH_OPEN
,
/*12 蓝牙_开*/
MENU_ITEM_BLUETOOTH_CLOSE
,
/*13 蓝牙_关*/
MENU_ITEM_BLUETOOTH_OPEN_CLOSE
,
/*12 蓝牙_开*/
MENU_ITEM_BLUETOOTH_SYNC
,
/*13 蓝牙同步联系人*/
MENU_ITEM_BLUETOOTH_BACK
,
/*14 蓝牙返回*/
...
...
@@ -67,13 +66,20 @@ typedef enum
MENU_ITEM_CLOCK_MIN_BIT
,
/*17 时钟分钟个位*/
MENU_ITEM_CLOCK_BACK
,
/*16 时钟返回*/
MENU_ITEM_CLOCK_HOUR_TENB_SET
,
/*20 时钟小时十位*/
MENU_ITEM_CLOCK_HOUR_BIT_SET
,
/*19 时钟小时个位*/
MENU_ITEM_CLOCK_MIN_TENB_SET
,
/*18 时钟分钟十位*/
MENU_ITEM_CLOCK_MIN_BIT_SET
,
/*17 时钟分钟个位*/
MENU_ITEM_UNIT_KM
,
/*22 选中公制*/
MENU_ITEM_UNIT_MILE
,
/*23 选中英制*/
MENU_ITEM_LANGUAGE_CHINESE
,
/*25 选中中文*/
MENU_ITEM_LANGUAGE_ENGLISH
,
/*26 选中英文*/
MENU_ITEM_PHONE_CONNECT_WIN
,
/*28 手机互联成功*/
MENU_ITEM_PHONE_CONNECT_SET
,
MENU_ITEM_PHONE_CONNECT_APP
,
/*28 手机互联成功*/
MENU_ITEM_MAX
,
}
Menu_Item_en_t
;
...
...
@@ -92,6 +98,11 @@ typedef enum
MENU_INTF_CLOCK_SETTING
,
/*时钟设置*/
MENU_INTF_CLOCK_HOUR_TENB_SET
,
MENU_INTF_CLOCK_HOUR_BIT_SET
,
MENU_INTF_CLOCK_MIN_TENB_SET
,
MENU_INTF_CLOCK_MIN_BIT_SET
,
MENU_INTF_UNIT_SETTING
,
/*单位设置*/
MENU_INTF_LANGUAGE_SETTING
,
/*语言设置*/
...
...
@@ -100,6 +111,8 @@ typedef enum
MENU_INTF_PHONE_CONNECT
,
/*手机互联*/
MENU_INTF_PHONE_CONNECT_SET
,
MENU_INTF_QUIT
,
/*退出*/
MENU_INTERFACE_MAX
,
...
...
Firmware/Source/Component/Menu/Menu_Interface.c
View file @
b8266562
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