hsstate.c

来自「蓝牙耳机软件源代码」· C语言 代码 · 共 19 行

C
19
字号

#include "demohs.h"

/*
    updateHsConnectState

    Update the current connect state of the headset to reflect what the
    headset is currently trying to do.
*/
void updateHsConnectState(hs_conn_state_t new_state)
{
    hsState.connectState = new_state;

#ifdef DEV_BOARD_HS
    /* if flashing LEDs update the flashing pattern */
    changeFlash();
#endif
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?