๐Ÿž fix:ไผ˜ๅŒ–่“็‰™้€ป่พ‘

parent c7c3d7e8
...@@ -47,6 +47,13 @@ uint8_t MCUVersionASCLLList[26] = ...@@ -47,6 +47,13 @@ uint8_t MCUVersionASCLLList[26] =
void TextService(void); void TextService(void);
void BlueTooth_IGOFF_INIT(void)
{
GetBlueToothVaild =0;
OTA_Update_Flag = 0;
SetBluetoothTurnXX(0);
SetUpdateCtrl(0,QRCode_Rect);
}
void BlueToothService(void) void BlueToothService(void)
{ {
if(SYS_OPR_STAT_IGN_ON) if(SYS_OPR_STAT_IGN_ON)
...@@ -148,10 +155,7 @@ void BlueToothService(void) ...@@ -148,10 +155,7 @@ void BlueToothService(void)
} }
else else
{ {
GetBlueToothVaild =0; ;
OTA_Update_Flag = 0;
SetBluetoothTurnXX(0);
SetUpdateCtrl(0,QRCode_Rect);
} }
} }
......
...@@ -41,6 +41,7 @@ static const uint8_t SW_Version[3] = {SW_EXTERNAL_VERSION}; ...@@ -41,6 +41,7 @@ static const uint8_t SW_Version[3] = {SW_EXTERNAL_VERSION};
extern void BlueToothService(void); extern void BlueToothService(void);
extern uint8_t Get_Talking_PhoneBookValid(void); extern uint8_t Get_Talking_PhoneBookValid(void);
extern uint8_t Get_UUID_UDSStatus(void); extern uint8_t Get_UUID_UDSStatus(void);
extern void BlueTooth_IGOFF_INIT(void);
extern _PICID_Struct PicObj; extern _PICID_Struct PicObj;
extern _QRCODE_RECT QRCode_Rect; extern _QRCODE_RECT QRCode_Rect;
extern uint8_t PhoneNumber[40]; extern uint8_t PhoneNumber[40];
......
...@@ -125,6 +125,7 @@ static void Power_IG_OFF_Init(void) ...@@ -125,6 +125,7 @@ static void Power_IG_OFF_Init(void)
{ {
Line_In_KL15_OFF_Init(); Line_In_KL15_OFF_Init();
BackLight_15_Init(); BackLight_15_Init();
BlueTooth_IGOFF_INIT();
} }
static void Power_IG_ON_Init(void) static void Power_IG_ON_Init(void)
......
...@@ -74,10 +74,6 @@ void Sys_50ms_Tasks(void) ...@@ -74,10 +74,6 @@ void Sys_50ms_Tasks(void)
VechileSpeed_time++; VechileSpeed_time++;
} }
uint32_t ODOtest = 0;
uint32_t Triptest = 0;
uint32_t aaa = 0;
void Sys_100ms_Tasks(void) void Sys_100ms_Tasks(void)
{ {
BlueToothService(); BlueToothService();
......
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