Commit 2fec5b6c authored by 时昊's avatar 时昊

feat:增加背光功能

parent a4374d84
This diff is collapsed.
#ifndef _BACKLIGHT_H_
#define _BACKLIGHT_H_
#include "common.h"
typedef struct
{
uint16_t Light_Auto;
} _Light;
extern _Light g_Light;
void BackLight_Init(void);
void BackLight_Process(void);
#ifdef Platform_16Bit
#define Light_uint8_t unsigned char
#define Light_uint16_t unsigned int
#define Light_uint32_t unsigned long
#else
#define Light_uint8_t unsigned char
#define Light_uint16_t unsigned short
#define Light_uint32_t unsigned int
#define Light_uint64_t unsigned long long
#endif
#ifndef Backlight_NULL
#define Backlight_NULL ( void * )0u
#endif /* NULL */
void Backlight_KL30_Wakeup_Init(void);
#endif
\ No newline at end of file
......@@ -26,5 +26,6 @@
#include "AMT630H\AMT630H_Datas.h"
#include "Data_ESpeed.h"
#include "Data_VSpeed.h"
#include "BackLight.h"
#endif
......@@ -48,7 +48,6 @@ static void Power_KL30_Init(void)
loc_config.pfnUARTReadMsgCallBack = Amt630hUartRecvData;
RTE_UART_Init(UART_CH2, &loc_config);
Analog_Signal_Conv_Init();
BackLight_Init();
Sys_KL30_Init();
Data_Vehicle_Speed_KL30_Wakeup_Init();
Data_Engine_Speed_KL30_Wakeup_Init();
......@@ -83,7 +82,6 @@ static void Power_Wakeup_Init(void)
Analog_Signal_Conv_Init();
Data_User_Mileage_WakeupInit();
BackLight_Init();
Sys_WakeUp_Init();
Data_Vehicle_Speed_KL30_Wakeup_Init();
Data_Engine_Speed_KL30_Wakeup_Init();
......@@ -117,7 +115,6 @@ static void Power_IG_OFF_Init(void)
static void Power_IG_ON_Init(void)
{
// ClearODO_Flag = 0;
BackLight_Init();
Line_In_KL15_ON_Init();
Telltales_KL15_Init();
Fuel_KL15_Init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment