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
862e457e
Commit
862e457e
authored
Sep 09, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:代码评审问题:背光源文件删除无用函数、变量
parent
3a04da4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
BackLight.c
Firmware/Source/Application/BackLight/BackLight.c
+9
-9
BackLight.h
Firmware/Source/Application/BackLight/BackLight.h
+9
-9
No files found.
Firmware/Source/Application/BackLight/BackLight.c
View file @
862e457e
...
...
@@ -9,15 +9,15 @@
#define BACK_LIGHT_DAY 1000
#define BACK_LIGHT_NIGHT 600
//_Light g_Light;
uint8_t
LED_Turnoff
=
0
;
uint8_t
LED_Turnon
=
0
;
void
BackLight_Init
(
void
)
{
//g_Light.Light_Day = 0XFFFF;
//g_Light.Light_Night = 0XFFFF;
LED_Turnoff
=
0
;
LED_Turnon
=
0
;
}
//
uint8_t LED_Turnoff = 0;
//
uint8_t LED_Turnon = 0;
//
void BackLight_Init(void)
//
{
//
//g_Light.Light_Day = 0XFFFF;
//
//g_Light.Light_Night = 0XFFFF;
//
LED_Turnoff = 0;
//
LED_Turnon = 0;
//
}
void
BackLight_Process
(
void
)
{
...
...
Firmware/Source/Application/BackLight/BackLight.h
View file @
862e457e
...
...
@@ -2,17 +2,17 @@
#define _BACKLIGHT_H_
#include "common.h"
#include "Application.h"
typedef
struct
{
uint8_t
Duty
;
uint8_t
Cycle
;
uint16_t
Light_Night
;
uint16_t
Light_Day
;
}
_Light
;
//
typedef struct
//
{
//
uint8_t Duty;
//
uint8_t Cycle;
//
uint16_t Light_Night;
//
uint16_t Light_Day;
//
} _Light;
extern
_Light
g_Light
;
//
extern _Light g_Light;
void
BackLight_Init
(
void
);
//
void BackLight_Init(void);
void
BackLight_Process
(
void
);
...
...
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