Commit b8131a55 authored by 张金硕's avatar 张金硕

feat:新增打电话时为同步联系人显示人名,否则显示电话号

parent 6df8bb26
......@@ -363,4 +363,15 @@ void TextService(void)
}
}
uint8_t Get_Talking_PhoneBookValid(void)
{
for(uint8_t i=0;i<100;i++)
{
if(CurBlueToothPhoneName[i]!=0)
return 1;
}
return 0;
}
......@@ -39,6 +39,7 @@ static const uint8_t SW_Version[3] = {SW_EXTERNAL_VERSION};
extern void BlueToothService(void);
extern uint8_t Get_Talking_PhoneBookValid(void);
extern _PICID_Struct PicObj;
extern _QRCODE_RECT QRCode_Rect;
extern uint8_t PhoneNumber[40];
......
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