mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
change(bt): Remove unused state variable for (e)SCO disconnect reason in Bluedroid
This commit is contained in:
@@ -981,9 +981,6 @@ typedef void (tBTM_ACL_DB_CHANGE_CB) (BD_ADDR p_bda, DEV_CLASS p_dc,
|
||||
#define BTM_INVALID_SCO_INDEX 0xFFFF
|
||||
#define BTM_INVALID_HCI_HANDLE 0xFFFF
|
||||
|
||||
/* Define an invalid SCO disconnect reason */
|
||||
#define BTM_INVALID_SCO_DISC_REASON 0xFFFF
|
||||
|
||||
/* Define first active SCO index */
|
||||
#define BTM_FIRST_ACTIVE_SCO_INDEX BTM_MAX_SCO_LINKS
|
||||
|
||||
@@ -3162,21 +3159,6 @@ UINT16 BTM_ReadScoHandle (UINT16 sco_inx);
|
||||
UINT8 *BTM_ReadScoBdAddr (UINT16 sco_inx);
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function BTM_ReadScoDiscReason
|
||||
**
|
||||
** Description This function is returns the reason why an (e)SCO connection
|
||||
** has been removed. It contains the value until read, or until
|
||||
** another (e)SCO connection has disconnected.
|
||||
**
|
||||
** Returns HCI reason or BTM_INVALID_SCO_DISC_REASON if not set.
|
||||
**
|
||||
*******************************************************************************/
|
||||
//extern
|
||||
UINT16 BTM_ReadScoDiscReason (void);
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function BTM_SetEScoMode
|
||||
|
||||
Reference in New Issue
Block a user