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

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

Log "device" btif/src/btif_config.c::btif_get_device_type

Towards loggable code

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ied237375c1dd9ceeab483f5af4b9f61637e9779c
parent 4f4f9951
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -136,7 +136,8 @@ bool btif_get_device_type(const RawAddress& bda, int* p_device_type) {

  if (!btif_config_get_int(bd_addr_str, "DevType", p_device_type)) return false;

  LOG_DEBUG("%s: Device [%s] type %d", __func__, bd_addr_str, *p_device_type);
  LOG_DEBUG("%s: Device [%s] device type %d", __func__, bd_addr_str,
            *p_device_type);
  return true;
}