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
2dc7eef3
Commit
2dc7eef3
authored
Jul 11, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:增加指示灯功能逻辑
parent
086a463f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
487 additions
and
357 deletions
+487
-357
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+459
-334
Telltales_user.h
Firmware/Source/Component/Telltales/Telltales_user.h
+28
-23
No files found.
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
2dc7eef3
This diff is collapsed.
Click to expand it.
Firmware/Source/Component/Telltales/Telltales_user.h
View file @
2dc7eef3
//#ifndef TELLTALES_USER_H
//#define TELLTALES_USER_H
//typedef enum
//{
// em_LED_High_Beam,
// em_LED_Efi_Fault,
// em_LED_Auto_Start_Stop,
// em_LED_Voltage,
// em_LED_Fuel,
// em_LED_Atmosphere,
//
// LED_Max ,
//} LED_Idx_t;
//extern Tellib_uint8_t Auto_Start_Stop ;
//void Telltales_Init(void);
//Tellib_uint8_t Telltales_Voltage_Date(void);
//#endif
#ifndef TELLTALES_USER_H
#define TELLTALES_USER_H
typedef
enum
{
em_LED_Turn_Left
,
em_LED_Turn_Right
,
em_LED_High_Beam
,
em_LED_Efi_Fault
,
em_LED_ABS
,
em_LED_Auto_Start_Stop
,
em_LED_Oil_Pressure_Alert
,
em_LED_TCS
,
em_LED_HEV
,
em_LED_Voltage
,
em_LED_Fuel_Level_Low
,
em_LED_Coolant_Temperature
,
em_LED_WIFI
,
em_LED_Bluetooth
,
em_LED_E
,
em_LED_S
,
LED_Max
,
}
LED_Idx_t
;
extern
Tellib_uint8_t
Auto_Start_Stop
;
void
Telltales_Init
(
void
);
Tellib_uint8_t
Telltales_Voltage_Date
(
void
);
#endif
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