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

Commit 766413bf authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "bta::hh::sdp_cback Use proper type tSDP_STATUS" into main

parents 2d4a0ddc 01e4857f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -199,7 +199,7 @@ void bta_hh_disc_cmpl(void) {
 * Returns          void
 *
 ******************************************************************************/
static void bta_hh_sdp_cback(uint16_t result, uint16_t attr_mask, tHID_DEV_SDP_INFO* sdp_rec) {
static void bta_hh_sdp_cback(tSDP_STATUS result, uint16_t attr_mask, tHID_DEV_SDP_INFO* sdp_rec) {
  tBTA_HH_DEV_CB* p_cb = bta_hh_cb.p_cur;
  uint8_t hdl = 0;
  tBTA_HH_STATUS status = BTA_HH_ERR_SDP;
+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@

#include "stack/include/bt_hdr.h"
#include "stack/include/hiddefs.h"
#include "stack/include/sdp_api.h"
#include "stack/include/sdp_status.h"
#include "types/raw_address.h"

/*****************************************************************************
@@ -47,7 +47,7 @@
 *  Type Definitions
 ****************************************************************************/

typedef void(tHID_HOST_SDP_CALLBACK)(uint16_t result, uint16_t attr_mask,
typedef void(tHID_HOST_SDP_CALLBACK)(tSDP_STATUS result, uint16_t attr_mask,
                                     tHID_DEV_SDP_INFO* sdp_rec);

/* HID-HOST returns the events in the following table to the application via