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

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

Remove unnecessary type definition tBTA_DM_BLE_RX_TIME_MS

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Icfd17bc766ee61bb93f4e69d68b33ad1cdebf7fd
parent 1cf6dfff
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -731,7 +731,6 @@ typedef void(tBTA_DM_ENCRYPT_CBACK)(const RawAddress& bd_addr,
#define BTA_DM_BLE_SEC_NO_MITM BTM_BLE_SEC_ENCRYPT_NO_MITM
#define BTA_DM_BLE_SEC_MITM BTM_BLE_SEC_ENCRYPT_MITM

typedef tBTM_BLE_RX_TIME_MS tBTA_DM_BLE_RX_TIME_MS;
typedef tBTM_BLE_IDLE_TIME_MS tBTA_DM_BLE_IDLE_TIME_MS;

#define BTA_DM_CONTRL_UNKNOWN 0 /* Unknown state */
@@ -751,7 +750,7 @@ typedef uint8_t tBTA_DM_BLE_RSSI_VALUE;
typedef uint16_t tBTA_DM_BLE_ADV_INFO_TIMESTAMP;

typedef void(tBTA_BLE_ENERGY_INFO_CBACK)(tBTM_BLE_TX_TIME_MS tx_time,
                                         tBTA_DM_BLE_RX_TIME_MS rx_time,
                                         tBTM_BLE_RX_TIME_MS rx_time,
                                         tBTA_DM_BLE_IDLE_TIME_MS idle_time,
                                         tBTM_BLE_ENERGY_USED energy_used,
                                         tBTA_DM_CONTRL_STATE ctrl_state,
+1 −1
Original line number Diff line number Diff line
@@ -2167,7 +2167,7 @@ static void bte_dm_remote_service_record_evt(tBTA_DM_SEARCH_EVT event,
 *
 ******************************************************************************/
static void bta_energy_info_cb(tBTM_BLE_TX_TIME_MS tx_time,
                               tBTA_DM_BLE_RX_TIME_MS rx_time,
                               tBTM_BLE_RX_TIME_MS rx_time,
                               tBTA_DM_BLE_IDLE_TIME_MS idle_time,
                               tBTM_BLE_ENERGY_USED energy_used,
                               tBTA_DM_CONTRL_STATE ctrl_state,