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

Commit b58ef0c7 authored by Bidhya Sharma's avatar Bidhya Sharma Committed by Gerrit Code Review
Browse files

Merge "[Gatt Test] Properly initialize attr value"

parents af3a53dc 9fef3297
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -202,7 +202,9 @@ TEST(GattCacheTest, stored_attribute_to_binary_descriptor_test) {
  /* make sure padding at end of union is cleared */
  memset(&attr, 0, sizeof(attr));

  attr = {.handle = 0x0003, .type = Uuid::FromString("2902"), .value = {}};
  attr = {.handle = 0x0003,
          .type = Uuid::FromString("2902"),
          .value = {.characteristic_extended_properties = 0x00}};

  constexpr size_t len = sizeof(StoredAttribute);
  // clang-format off