From cd813bead6d49e7223eb1a5a006347dbed059d69 Mon Sep 17 00:00:00 2001 From: Chris Manton <cmanton@google.com> 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 --- system/bta/include/bta_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/bta/include/bta_api.h b/system/bta/include/bta_api.h index 04a7499feae..6696ad08175 100644 --- a/system/bta/include/bta_api.h +++ b/system/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; -- GitLab