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

Commit a74224d5 authored by Chris Manton's avatar Chris Manton
Browse files

Properly type args stack/acl/btm_pm::BTM_ReadPowerMode

Towards readable code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run --host

Change-Id: I94620f506d0fc5ee32f1fe8a5dc75dc5915dd6af
parent 94bf3580
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -263,7 +263,7 @@ bool BTM_ReadPowerMode(const RawAddress& remote_bda, tBTM_PM_MODE* p_mode) {
    return false;
  }

  *p_mode = btm_cb.acl_cb_.pm_mode_db[acl_ind].state;
  *p_mode = static_cast<tBTM_PM_MODE>(btm_cb.acl_cb_.pm_mode_db[acl_ind].state);
  return true;
}