?? indicators.c
字號:
#include "handsfree_private.h"
#include "handsfree.h"
/*
hfIndicatorStatusInd
Indicator status update received.
*/
void hfIndicatorStatusInd(const HANDSFREE_INDICATOR_STATUS_IND_T *ind)
{
/* If the call active indicator is being toggled then reset call set-up */
if (HFstate.hfCallActive != ind->callStatus)
HFstate.hfCallSetup = 0;
else
HFstate.hfCallSetup = ind->callSetupStatus;
/* Store the call setup indicator */
HFstate.hfCallActive = ind->callStatus;
if (!HFstate.hfCallSetup || HFstate.hfCallActive)
{
/* Reset the rining flag on call active or call_setup = 0 */
HFstate.ringing = 0;
}
/* Tell the interface */
handleIndicatorUpdate(ind->serviceStatus, ind->callStatus, ind->callSetupStatus);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -