Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11d903d3 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Get rid of unused tGATT_SCCB

Test: compilation test
Change-Id: I32fee6a93442c8415f7d855c1e4802bceb6fe5ff
parent f814d9f5
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -328,11 +328,6 @@ typedef struct {

typedef struct { tGATT_CLCB* p_clcb; } tGATT_PENDING_ENC_CLCB;

typedef struct {
  uint16_t clcb_idx;
  bool in_use;
} tGATT_SCCB;

typedef struct {
  uint16_t handle;
  uint16_t uuid;
@@ -379,8 +374,6 @@ typedef struct {
  fixed_queue_t* srv_chg_clt_q; /* service change clients queue */
  tGATT_REG cl_rcb[GATT_MAX_APPS];
  tGATT_CLCB clcb[GATT_CL_MAX_LCB]; /* connection link control block*/
  tGATT_SCCB sccb[GATT_MAX_SCCB];   /* sign complete callback function
                                       GATT_MAX_SCCB <= GATT_CL_MAX_LCB */
  uint8_t trace_level;
  uint16_t def_mtu_size;

+0 −4
Original line number Diff line number Diff line
@@ -150,10 +150,6 @@ typedef uint16_t tGATT_DISCONN_REASON;
#define GATT_CL_MAX_LCB 22
#endif

#ifndef GATT_MAX_SCCB
#define GATT_MAX_SCCB 10
#endif

/* GATT notification caching timer, default to be three seconds
*/
#ifndef GATTC_NOTIF_TIMEOUT