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

Commit 8b335b01 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "gd: Change AdvertiserId type to uint8_t"

parents 44421481 8f32307f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ class ExtendedAdvertisingConfig : public AdvertisingConfig {
  ExtendedAdvertisingConfig(const AdvertisingConfig& config);
};

using AdvertiserId = int32_t;
using AdvertiserId = uint8_t;

class AdvertisingCallback {
 public:
@@ -80,7 +80,7 @@ class AdvertisingCallback {

class LeAdvertisingManager : public bluetooth::Module {
 public:
  static constexpr AdvertiserId kInvalidId = -1;
  static constexpr AdvertiserId kInvalidId = 0xFF;
  static constexpr uint8_t kInvalidHandle = 0xFF;
  LeAdvertisingManager();