From 1048cf14e6c4198ea0f1f0546447e9192bc5b59b Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Tue, 1 Sep 2020 21:47:35 -0700 Subject: [PATCH] Update bta/include/::ble_addr_type Using strict types tBLE_ADDR_TYPE Towards readable code Bug: 163134718 Tag: #refactor Test: compile & verify basic functions working Change-Id: I1177d0a1f3054af4ef739d38703ca53a8b5fbf52 --- bta/include/bta_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bta/include/bta_api.h b/bta/include/bta_api.h index 04a7499fe..6696ad081 100644 --- a/bta/include/bta_api.h +++ b/bta/include/bta_api.h @@ -535,7 +535,7 @@ typedef struct { uint8_t* p_eir; /* received EIR */ uint16_t eir_len; /* received EIR length */ uint8_t inq_result_type; - uint8_t ble_addr_type; + tBLE_ADDR_TYPE ble_addr_type; uint16_t ble_evt_type; uint8_t ble_primary_phy; uint8_t ble_secondary_phy; -- 2.11.0