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

Commit 6920ebe9 authored by Zhengping Jiang's avatar Zhengping Jiang Committed by Gerrit Code Review
Browse files

Merge "gd/hci: fix warnings" into main

parents bdc64267 33659f78
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -23,6 +23,7 @@


#include <map>
#include <map>
#include <utility>
#include <utility>
#include <vector>


#include "common/bind.h"
#include "common/bind.h"
#include "common/init_flags.h"
#include "common/init_flags.h"
@@ -525,7 +526,7 @@ struct HciLayer::impl {


// All functions here are running on the HAL thread
// All functions here are running on the HAL thread
struct HciLayer::hal_callbacks : public hal::HciHalCallbacks {
struct HciLayer::hal_callbacks : public hal::HciHalCallbacks {
  hal_callbacks(HciLayer& module) : module_(module) {}
  explicit hal_callbacks(HciLayer& module) : module_(module) {}


  void hciEventReceived(hal::HciPacket event_bytes) override {
  void hciEventReceived(hal::HciPacket event_bytes) override {
    auto packet = packet::PacketView<packet::kLittleEndian>(
    auto packet = packet::PacketView<packet::kLittleEndian>(