OSDN Git Service

Use proper types bta/ag/bta_ag_sco::tBTA_AG_EVT
authorChris Manton <cmanton@google.com>
Tue, 15 Dec 2020 02:25:58 +0000 (18:25 -0800)
committerChris Manton <cmanton@google.com>
Thu, 7 Jan 2021 20:12:38 +0000 (12:12 -0800)
Towards readable code

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

Change-Id: I43215ff771cb4163ced273778e527b63891287e7

bta/ag/bta_ag_sco.cc

index 86e6dfd..5e580b1 100644 (file)
@@ -338,7 +338,7 @@ static void bta_ag_esco_connreq_cback(tBTM_ESCO_EVT event,
  * Returns          void
  *
  ******************************************************************************/
-static void bta_ag_cback_sco(tBTA_AG_SCB* p_scb, uint8_t event) {
+static void bta_ag_cback_sco(tBTA_AG_SCB* p_scb, tBTA_AG_EVT event) {
   tBTA_AG_HDR sco = {};
   sco.handle = bta_ag_scb_to_idx(p_scb);
   sco.app_id = p_scb->app_id;