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

Commit 49a653e5 authored by Chris Manton's avatar Chris Manton
Browse files

Encapsulate tBTM_CB::btm_scn

Towards readable code

Bug: 163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Test: classic paired Bose SoundLink
Change-Id: Ic947434651ba3312342507ac1ff4da92e176b0bb
parent 7c680590
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -289,6 +289,11 @@ typedef struct {
  tBTM_BT_QUALITY_REPORT_RECEIVER* p_bqr_report_receiver;

  tACL_CB acl_cb_;

 private:
  friend uint8_t BTM_AllocateSCN(void);
  friend bool BTM_TryAllocateSCN(uint8_t scn);
  friend bool BTM_FreeSCN(uint8_t scn);
  uint8_t btm_scn[BTM_MAX_SCN_];
} tBTM_CB;