?? localstate.c
字號:
#include "handsfree_private.h"
#include "handsfree.h"
/*
setLocalState
Use this function to update the local connect state
*/
void setLocalState(uint16 new_state)
{
HFstate.connectState = new_state;
handleLocalStateChange();
}
/*
isLocalStateConnected
Return true if SLC is connected and false otherwise
*/
uint16 isLocalStateConnected(void)
{
if (HFstate.connectState == connected || HFstate.connectState == scoConnected)
return 1;
else
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -