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

Commit 7bd7ab11 authored by Pomai Ahlo's avatar Pomai Ahlo Committed by Gerrit Code Review
Browse files

Merge "Remove unused interface SCN" into main

parents 22a59be5 07cc8541
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -44,13 +44,6 @@ struct btm_client_interface_t btm_client_interface = {
            .BTM_reset_complete = BTM_reset_complete,
        },

    .scn =
        {
            .BTM_AllocateSCN = BTM_AllocateSCN,
            .BTM_TryAllocateSCN = BTM_TryAllocateSCN,
            .BTM_FreeSCN = BTM_FreeSCN,
        },

    // Acl peer and lifecycle
    .peer =
        {
+0 −7
Original line number Diff line number Diff line
@@ -50,13 +50,6 @@ struct btm_client_interface_t {
    void (*BTM_reset_complete)();
  } lifecycle;

  struct {
    // Server channel number
    uint8_t (*BTM_AllocateSCN)(void);
    bool (*BTM_TryAllocateSCN)(uint8_t scn);
    bool (*BTM_FreeSCN)(uint8_t scn);
  } scn;

  // Acl peer and lifecycle
  struct {
    struct {
+0 −6
Original line number Diff line number Diff line
@@ -53,12 +53,6 @@ struct btm_client_interface_t btm_client_interface = {
        .btm_ble_free = []() {},
        .BTM_reset_complete = []() {},
    },
    .scn =
        {
            .BTM_AllocateSCN = BTM_AllocateSCN,
            .BTM_TryAllocateSCN = BTM_TryAllocateSCN,
            .BTM_FreeSCN = BTM_FreeSCN,
        },
    .peer = {
        .features =
            {