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

Commit 00370860 authored by Bailey Forrest's avatar Bailey Forrest
Browse files

Minor fixes

- Include <mutex> for heart_rate_server
- Remove unnecessary assignment

Test: Build
Change-Id: Ic2368d08789b95e71c083460148c70b9d0ef0b20
parent 8bc88b19
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

#pragma once

#include <mutex>
#include <unordered_map>

#include <base/macros.h>
+1 −1
Original line number Diff line number Diff line
@@ -475,7 +475,7 @@ static tAVRC_STS avrc_bld_set_addressed_player_cmd(
  AVRC_TRACE_API("%s", __func__);
  /* get the existing length, if any, and also the num attributes */
  uint8_t* p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
  uint8_t* p_data = p_data = p_start + 2; /* pdu + rsvd */
  uint8_t* p_data = p_start + 2; /* pdu + rsvd */

  /* To change addressed player the following is the total length:
   * Player ID (2)