Commit 594d247c authored by 李俭双's avatar 李俭双

🐞 fix:45363 Object '%1s' with external linkage is not unique.

parent 231c8ece
......@@ -12,8 +12,8 @@ uint8_t PageMenu = 0;
uint8_t Hour_Set = 0;
uint8_t Minute_Set = 0;
uint8_t Tpms_TX_Flag = 0;
RTC_TimeTypeDef RTC_TimeStruct;
RTC_DateTypeDef RTC_DateStruct;
//RTC_TimeTypeDef RTC_TimeStruct;
//RTC_DateTypeDef RTC_DateStruct;
RTC_CounterTypeDef counter_val;
void Data_TCS_Set_OnOff(uint32_t u32Data)
......
......@@ -6,7 +6,7 @@
#include "UDS_ISO14229_Services.h"
#include "timm.h"
RTC_Information_st_t g_stRTCInformation;
RTC_Information_st_t RTCInformation;
static void Power_KL30_Init(void);
static void Power_Wakeup_Init(void);
......@@ -83,13 +83,13 @@ static void Power_KL30_Init(void)
Telltales_UserInit();
MenuData_Unit_Init();
Data_TPMS_KL30_Init ();
g_stRTCInformation.u8RTCSecond = 0;
g_stRTCInformation.u8RTCMinute = 0;
g_stRTCInformation.u8RTCHour = 0;
g_stRTCInformation.u8RTCDayOfMonth = 1;
g_stRTCInformation.u8RTCMonth = 1;
g_stRTCInformation.u8RTCYear = 20;
RTE_RTC_Init(g_stRTCInformation);
RTCInformation.u8RTCSecond = 0;
RTCInformation.u8RTCMinute = 0;
RTCInformation.u8RTCHour = 0;
RTCInformation.u8RTCDayOfMonth = 1;
RTCInformation.u8RTCMonth = 1;
RTCInformation.u8RTCYear = 20;
RTE_RTC_Init(RTCInformation);
RTE_DEEPSLEEP_GPIO_Interrupt_Enable(WAKEUP_KL15_In,Trigger_Rising);
FaultCode_Init();
......
......@@ -82,8 +82,8 @@ void Telltales_Init(void)
}
void Telltales_UserInit(void)
{
HighBeam_Timer.LED_Turnon = 0;
HighBeam_Timer.LED_Turnoff = 0;
//HighBeam_Timer.LED_Turnon = 0;
//HighBeam_Timer.LED_Turnoff = 0;
LED_Battery_Voltage = 0;
Battery_Voltage_valid = 0;
}
......
......@@ -23,12 +23,12 @@ typedef enum
LED_Max ,
} LED_Idx_t;
typedef struct
{
Tellib_uint8_t LED_Turnon;
Tellib_uint8_t LED_Turnoff;
}Led_HighBeam_Count;
extern Led_HighBeam_Count HighBeam_Timer;
// typedef struct
// {
// //Tellib_uint8_t LED_Turnon;
// //Tellib_uint8_t LED_Turnoff;
// }Led_HighBeam_Count;
// extern Led_HighBeam_Count HighBeam_Timer;
void Telltales_Init(void);
......
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